up
This commit is contained in:
@@ -37,7 +37,7 @@ public class ProjectionEndpointTests : IClassFixture<WebApplicationFactory<Progr
|
||||
|
||||
builder.ConfigureServices(services =>
|
||||
{
|
||||
// Avoid MongoDB dependency in tests; use seeded in-memory repo.
|
||||
// Use seeded in-memory repo for tests.
|
||||
services.RemoveAll<IComponentLookupRepository>();
|
||||
services.AddSingleton<IComponentLookupRepository, InMemoryComponentLookupRepository>();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user