diff --git a/csharp/ApprovalTest.cs b/csharp/ApprovalTest.cs index 5334147e..46e959bb 100644 --- a/csharp/ApprovalTest.cs +++ b/csharp/ApprovalTest.cs @@ -19,7 +19,7 @@ namespace csharp Console.SetOut(new StringWriter(fakeoutput)); Console.SetIn(new StringReader("a\n")); - Program.Main(new string[] { }); + Program.Main(new string[] { "30" }); var output = fakeoutput.ToString(); Approvals.Verify(output); diff --git a/csharpcore-Verify.xunit/GildedRoseTests/ApprovalTest.cs b/csharpcore-Verify.xunit/GildedRoseTests/ApprovalTest.cs index 5aabda98..acfbf40c 100644 --- a/csharpcore-Verify.xunit/GildedRoseTests/ApprovalTest.cs +++ b/csharpcore-Verify.xunit/GildedRoseTests/ApprovalTest.cs @@ -22,7 +22,7 @@ namespace GildedRoseTests Console.SetOut(new StringWriter(fakeoutput)); Console.SetIn(new StringReader("a\n")); - Program.Main(new string[] { }); + Program.Main(new string[] { "30" }); var output = fakeoutput.ToString(); return Verifier.Verify(output); diff --git a/csharpcore/GildedRoseTests/ApprovalTest.cs b/csharpcore/GildedRoseTests/ApprovalTest.cs index 4086ecf2..f8766d54 100644 --- a/csharpcore/GildedRoseTests/ApprovalTest.cs +++ b/csharpcore/GildedRoseTests/ApprovalTest.cs @@ -17,7 +17,7 @@ public class ApprovalTest Console.SetOut(new StringWriter(fakeOutput)); Console.SetIn(new StringReader($"a{Environment.NewLine}")); - TextTestFixture.Main(new string[] { }); + TextTestFixture.Main(new string[] { "30" }); var output = fakeOutput.ToString(); Approvals.Verify(output);