diff --git a/backend/internal/core/services/main_test.go b/backend/internal/core/services/main_test.go index 05dd11e..9ae4982 100644 --- a/backend/internal/core/services/main_test.go +++ b/backend/internal/core/services/main_test.go @@ -56,7 +56,7 @@ func TestMain(m *testing.M) { log.Fatalf("failed opening connection to sqlite: %v", err) } - err = client.Schema.Create(context.Background()) + err = client.Schema.Create(tCtx) if err != nil { log.Fatalf("failed creating schema resources: %v", err) }