Fix tests: Use helper method to create connection - will use database named for the test - gives each test a unique name so doesnt interfere with others at the same time. The rest of the tests already use it, these couple were just missed

pull/131/head
Christopher Jolly 3 years ago
parent 0bc5d04759
commit d42cf1e346

@ -18,7 +18,7 @@ namespace EntityFrameworkCore.Jet.IntegrationTests
protected override DbConnection GetConnection() protected override DbConnection GetConnection()
{ {
return AssemblyInitialization.Connection; return Helpers.GetJetConnection();
} }
public override void CleanUp() public override void CleanUp()

@ -49,7 +49,7 @@ namespace EntityFrameworkCore.Jet.IntegrationTests
protected override DbConnection GetConnection() protected override DbConnection GetConnection()
{ {
return AssemblyInitialization.Connection; return Helpers.GetJetConnection();
} }
} }
} }

@ -100,6 +100,7 @@ namespace EntityFrameworkCore.Jet.IntegrationTests
} }
protected override DbConnection GetConnection()
=> Helpers.GetJetConnection();
} }
} }

Loading…
Cancel
Save