Update src/Identity/EntityFrameworkCore/test/EF.Test/Utilities/ScratchDatabaseFixture.cs
Co-Authored-By: ajcvickers <ajcvickers@hotmail.com>
This commit is contained in:
parent
f0c8702f7e
commit
2e8e1b1ec1
|
|
@ -20,7 +20,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
if (_testStore.HasValue)
|
if (_testStore.IsValueCreated)
|
||||||
{
|
{
|
||||||
_testStore.Value.Dispose();
|
_testStore.Value.Dispose();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue