GC.SuppressFinalize(this) внтури метода DisposeAsync в WebAppFactoryFixture
This commit is contained in:
parent
a329846df7
commit
42965be770
@ -61,6 +61,6 @@ public class WebAppFactoryFixture : WebApplicationFactory<Startup>
|
|||||||
|
|
||||||
await dbContext.Database.EnsureDeletedAsync();
|
await dbContext.Database.EnsureDeletedAsync();
|
||||||
|
|
||||||
GC.SuppressFinalize(dbContext);
|
GC.SuppressFinalize(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user