commit
58f014c297
@ -117,10 +117,11 @@ func TestMain(m *testing.M) {
|
|||||||
withFixtureName = fName
|
withFixtureName = fName
|
||||||
withoutFixtureName = nfName
|
withoutFixtureName = nfName
|
||||||
|
|
||||||
m.Run()
|
rc := m.Run()
|
||||||
|
|
||||||
dropTemplateDatabase(fURL, fName)
|
dropTemplateDatabase(fURL, fName)
|
||||||
dropTemplateDatabase(nfURL, nfName)
|
dropTemplateDatabase(nfURL, nfName)
|
||||||
|
os.Exit(rc)
|
||||||
}
|
}
|
||||||
|
|
||||||
func openCopiedDatabase(testConfig database.RegistrableComponentConfig, fixture bool) (database.Datastore, error) {
|
func openCopiedDatabase(testConfig database.RegistrableComponentConfig, fixture bool) (database.Datastore, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user