@@ -94,10 +94,10 @@ func TestIntegration(t *testing.T) {
94
94
}),
95
95
}},
96
96
{name : "UseKotlinDbConn" , assertions : assertions {
97
- setUpKotlinModuleDb (filepath .Join (modulesDir , "ftl-module-echo3" )),
97
+ setUpModuleDb (filepath .Join (modulesDir , "ftl-module-echo3" )),
98
98
run ("." , "ftl" , "deploy" , filepath .Join (modulesDir , "ftl-module-echo3" )),
99
99
call ("dbtest" , "create" , obj {"data" : "Hello" }, func (t testing.TB , resp obj ) {}),
100
- validateKotlinModuleDb (),
100
+ validateModuleDb (),
101
101
}},
102
102
{name : "SchemaGenerateJS" , assertions : assertions {
103
103
run ("." , "ftl" , "schema" , "generate" , "integration/testdata/schema-generate" , "build/schema-generate" ),
@@ -230,7 +230,7 @@ func call[Resp any](module, verb string, req obj, onResponse func(t testing.TB,
230
230
}
231
231
}
232
232
233
- func setUpKotlinModuleDb (dir string ) assertion {
233
+ func setUpModuleDb (dir string ) assertion {
234
234
os .Setenv ("FTL_POSTGRES_DSN_dbtest_testdb" , "postgres://postgres:secret@localhost:54320/testdb?sslmode=disable" )
235
235
return func (t testing.TB , ic itContext ) error {
236
236
db , err := sql .Open ("pgx" , "postgres://postgres:secret@localhost:54320/ftl?sslmode=disable" )
@@ -265,7 +265,7 @@ func setUpKotlinModuleDb(dir string) assertion {
265
265
}
266
266
}
267
267
268
- func validateKotlinModuleDb () assertion {
268
+ func validateModuleDb () assertion {
269
269
return func (t testing.TB , ic itContext ) error {
270
270
db , err := sql .Open ("pgx" , "postgres://postgres:secret@localhost:54320/testdb?sslmode=disable" )
271
271
assert .NoError (t , err )
0 commit comments