Skip to content

Commit

Permalink
fix: db integration test (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
worstell authored Jan 13, 2024
1 parent 96c1c0d commit ff04614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ func TestIntegration(t *testing.T) {
}),
}},
{name: "UseKotlinDbConn", assertions: assertions{
setUpModuleDb(filepath.Join(modulesDir, "ftl-module-echo3")),
run(".", "ftl", "deploy", filepath.Join(modulesDir, "ftl-module-echo3")),
run(".", "ftl", "init", "kotlin", modulesDir, "dbtest"),
setUpModuleDb(filepath.Join(modulesDir, "ftl-module-dbtest")),
run(".", "ftl", "deploy", filepath.Join(modulesDir, "ftl-module-dbtest")),
call("dbtest", "create", obj{"data": "Hello"}, func(t testing.TB, resp obj) {}),
validateModuleDb(),
}},
Expand Down
File renamed without changes.

0 comments on commit ff04614

Please sign in to comment.