diff options
Diffstat (limited to 'RhSolutions.Api.Tests/TestServiceCollection.cs')
-rw-r--r-- | RhSolutions.Api.Tests/TestServiceCollection.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/RhSolutions.Api.Tests/TestServiceCollection.cs b/RhSolutions.Api.Tests/TestServiceCollection.cs deleted file mode 100644 index 9f15c89..0000000 --- a/RhSolutions.Api.Tests/TestServiceCollection.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Microsoft.Extensions.DependencyInjection; - -namespace RhSolutions.Api.Tests; - -[SetUpFixture] -public class TestServiceCollection -{ - public static ServiceProvider? ServiceProvider { get; private set; } - - [OneTimeSetUp] - public void CreateProvider() - { - var collection = new ServiceCollection(); - collection.AddModifiers(); - ServiceProvider = collection.BuildServiceProvider(); - } - - [OneTimeTearDown] - public void DisposeProvider() - { - ServiceProvider?.Dispose(); - } -}
\ No newline at end of file |