Skip to content

Commit e82b8b3

Browse files
author
James Cor
committed
asdf
1 parent b49bb20 commit e82b8b3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

enginetest/enginetests.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3346,19 +3346,15 @@ func TestDropDatabase(t *testing.T, harness Harness) {
33463346

33473347
func TestCreateForeignKeys(t *testing.T, harness Harness) {
33483348
harness.Setup(setup.MydbData, setup.MytableData)
3349-
e := mustNewEngine(t, harness)
3350-
defer e.Close()
33513349
for _, tt := range queries.CreateForeignKeyTests {
3352-
TestScriptWithEngine(t, e, harness, tt)
3350+
TestScript(t, harness, tt)
33533351
}
33543352
}
33553353

33563354
func TestDropForeignKeys(t *testing.T, harness Harness) {
33573355
harness.Setup(setup.MydbData, setup.MytableData)
3358-
e := mustNewEngine(t, harness)
3359-
defer e.Close()
33603356
for _, tt := range queries.DropForeignKeyTests {
3361-
TestScriptWithEngine(t, e, harness, tt)
3357+
TestScript(t, harness, tt)
33623358
}
33633359
}
33643360

0 commit comments

Comments
 (0)