Skip to content

Commit e6bd88a

Browse files
committed
Remove GetConfigurationFiles() method #112
1 parent 1916f6d commit e6bd88a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Fixtures/TestFixture.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ protected override void AddServices(IServiceCollection services, IConfiguration?
1010
protected override ValueTask DisposeAsyncCore()
1111
=> new();
1212

13-
protected override IEnumerable<string> GetConfigurationFiles()
14-
{
15-
yield return "appsettings.json";
16-
}
17-
1813
protected override IEnumerable<TestAppSettings> GetTestAppSettings()
1914
{
2015
yield return new() { Filename = "appsettings.json", IsOptional = false };

src/Abstracts/TestBedFixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public IServiceProvider GetServiceProvider(ITestOutputHelper testOutputHelper)
4040
=> GetServiceProvider(testOutputHelper).GetService<T>();
4141

4242
protected abstract void AddServices(IServiceCollection services, IConfiguration? configuration);
43-
protected abstract IEnumerable<string> GetConfigurationFiles();
4443
protected abstract IEnumerable<TestAppSettings> GetTestAppSettings();
4544

4645
protected virtual ILoggingBuilder AddLoggingProvider(ILoggingBuilder loggingBuilder, ILoggerProvider loggerProvider)

0 commit comments

Comments
 (0)