From 9b1862e0bf2c0c5ddfec472944581537d6e0db75 Mon Sep 17 00:00:00 2001 From: Arash Sabet Date: Sun, 24 Apr 2022 10:43:27 -0400 Subject: [PATCH 1/2] Removed the Obsolete attribute #110 --- .../Fixtures/TestFixture.cs | 1 - src/Abstracts/TestBedFixture.cs | 2 -- 2 files changed, 3 deletions(-) diff --git a/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Fixtures/TestFixture.cs b/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Fixtures/TestFixture.cs index 50cfeb8..1801839 100644 --- a/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Fixtures/TestFixture.cs +++ b/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Fixtures/TestFixture.cs @@ -10,7 +10,6 @@ protected override void AddServices(IServiceCollection services, IConfiguration? protected override ValueTask DisposeAsyncCore() => new(); - [Obsolete] protected override IEnumerable GetConfigurationFiles() { yield return "appsettings.json"; diff --git a/src/Abstracts/TestBedFixture.cs b/src/Abstracts/TestBedFixture.cs index d0eb28f..f1d221a 100644 --- a/src/Abstracts/TestBedFixture.cs +++ b/src/Abstracts/TestBedFixture.cs @@ -40,8 +40,6 @@ public IServiceProvider GetServiceProvider(ITestOutputHelper testOutputHelper) => GetServiceProvider(testOutputHelper).GetService(); protected abstract void AddServices(IServiceCollection services, IConfiguration? configuration); - - [Obsolete("This method is deprecated. Please override and use GetTestAppSettings() method instead.", true)] protected abstract IEnumerable GetConfigurationFiles(); protected abstract IEnumerable GetTestAppSettings(); From 52911778fe1962922146bd222439921592a4daab Mon Sep 17 00:00:00 2001 From: Arash Sabet Date: Sun, 24 Apr 2022 10:47:52 -0400 Subject: [PATCH 2/2] Included the readme.md file in the nuget package #109 --- src/Xunit.Microsoft.DependencyInjection.csproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Xunit.Microsoft.DependencyInjection.csproj b/src/Xunit.Microsoft.DependencyInjection.csproj index ea35936..bdd5729 100644 --- a/src/Xunit.Microsoft.DependencyInjection.csproj +++ b/src/Xunit.Microsoft.DependencyInjection.csproj @@ -4,6 +4,7 @@ latest enable enable + README.md @@ -14,6 +15,9 @@ + + +