GildedRose-Refactoring-Kata/csharp.xUnit/GildedRoseTests/GildedRoseTest.cs
Artur Goloyad 93f5e057ed test: approve characterization baseline of current behaviour
Approve the Foo approval snapshot and the pre-existing ThirtyDays
snapshot as the locked-down record of current (Conjured-still-broken)
behaviour. Replace the failing fixme placeholder with a passing
sanity check so the suite is fully green before refactoring.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-25 20:47:50 +02:00

17 lines
429 B
C#

using Xunit;
using System.Collections.Generic;
using GildedRoseKata;
namespace GildedRoseTests;
public class GildedRoseTest
{
[Fact]
public void UpdateQuality_DoesNotChangeItemName()
{
IList<Item> items = new List<Item> { new Item { Name = "foo", SellIn = 0, Quality = 0 } };
GildedRose app = new GildedRose(items);
app.UpdateQuality();
Assert.Equal("foo", items[0].Name);
}
}