We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b20d8cd commit d1f0632Copy full SHA for d1f0632
1 file changed
tests/PhenX.EntityFrameworkCore.BulkInsert.Tests/Tests/Graph/GraphTestsBase.cs
@@ -8,15 +8,15 @@
8
9
namespace PhenX.EntityFrameworkCore.BulkInsert.Tests.Tests.Graph;
10
11
-public abstract class GraphTestsBase<TDbContext>(TestDbContainer dbContainer) : IAsyncLifetime
+public abstract class GraphTestsBase<TDbContext>(IDbContextFactory dbContextFactory) : IAsyncLifetime
12
where TDbContext : TestDbContext, new()
13
{
14
private readonly Guid _run = Guid.NewGuid();
15
private TDbContext _context = null!;
16
17
public async Task InitializeAsync()
18
19
- _context = await dbContainer.CreateContextAsync<TDbContext>("graph");
+ _context = await dbContextFactory.CreateContextAsync<TDbContext>("graph");
20
}
21
22
public Task DisposeAsync()
0 commit comments