From d7f9b8b209ad1020af243a4df012e9d7ad81700f Mon Sep 17 00:00:00 2001 From: MrDave1999 Date: Thu, 12 Oct 2023 13:23:56 -0500 Subject: [PATCH] tests: Add Person class in a .cs file --- tests/Person.cs | 6 ++++++ tests/ResultExtensionsTests.cs | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 tests/Person.cs diff --git a/tests/Person.cs b/tests/Person.cs new file mode 100644 index 0000000..5393a4c --- /dev/null +++ b/tests/Person.cs @@ -0,0 +1,6 @@ +namespace SimpleResults.Tests; + +public class Person +{ + public string Name { get; init; } +} diff --git a/tests/ResultExtensionsTests.cs b/tests/ResultExtensionsTests.cs index 92e4b3b..60134e1 100644 --- a/tests/ResultExtensionsTests.cs +++ b/tests/ResultExtensionsTests.cs @@ -7,11 +7,6 @@ public ResultExtensionsTests() Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("en-US"); } - private class Person - { - public string Name { get; init; } - } - [Test] public void ToActionResult_WhenOperationResultIsSuccess_ShouldReturnsOkObjectResult() {