Skip to content

Commit

Permalink
Merge pull request #113 from Umplify:112-remove-getconfigurationfiles…
Browse files Browse the repository at this point in the history
…-method

Remove GetConfigurationFiles() method
  • Loading branch information
Arash-Sabet authored Apr 27, 2022
2 parents 1916f6d + 195a029 commit 5fc5634
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion azure-pipeline-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ steps:
displayName: 'Use .NET 6.0 sdk'
inputs:
packageType: sdk
version: 6.0.201
version: 6.0.202
installationPath: $(Agent.ToolsDirectory)/dotnet
- script: echo Started restoring the source code
- task: DotNetCoreCLI@2
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ steps:
displayName: 'Use .NET 6.0 sdk'
inputs:
packageType: sdk
version: 6.0.201
version: 6.0.202
installationPath: $(Agent.ToolsDirectory)/dotnet
- script: echo Started restoring the source code
- task: DotNetCoreCLI@2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ protected override void AddServices(IServiceCollection services, IConfiguration?
protected override ValueTask DisposeAsyncCore()
=> new();

protected override IEnumerable<string> GetConfigurationFiles()
{
yield return "appsettings.json";
}

protected override IEnumerable<TestAppSettings> GetTestAppSettings()
{
yield return new() { Filename = "appsettings.json", IsOptional = false };
Expand Down
1 change: 0 additions & 1 deletion src/Abstracts/TestBedFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public IServiceProvider GetServiceProvider(ITestOutputHelper testOutputHelper)
=> GetServiceProvider(testOutputHelper).GetService<T>();

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

protected virtual ILoggingBuilder AddLoggingProvider(ILoggingBuilder loggingBuilder, ILoggerProvider loggerProvider)
Expand Down

0 comments on commit 5fc5634

Please sign in to comment.