Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
mudiagaobrikisil committed Oct 24, 2024
1 parent 678f03a commit 56bd93f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1998,8 +1998,6 @@ public class TestEnvironment : DisposableBase
private readonly IServiceScope _scope;
private readonly MongoClient _mongoClient;

// public readonly IOptionsMonitor<ApiOptions> ApiOptions;

public TestEnvironment()
{
var clientSettings = new MongoClientSettings { LinqProvider = LinqProvider.V2 };
Expand All @@ -2009,7 +2007,6 @@ public TestEnvironment()
Factory = new ServalWebApplicationFactory();
_scope = Factory.Services.CreateScope();
Engines = _scope.ServiceProvider.GetRequiredService<IRepository<Engine>>();
// ApiOptions = _scope.ServiceProvider.GetRequiredService<IOptionsMonitor<ApiOptions>>();
DataFiles = _scope.ServiceProvider.GetRequiredService<IRepository<DataFiles.Models.DataFile>>();
Corpora = _scope.ServiceProvider.GetRequiredService<IRepository<DataFiles.Models.Corpus>>();
Pretranslations = _scope.ServiceProvider.GetRequiredService<
Expand Down

0 comments on commit 56bd93f

Please sign in to comment.