tbs
Some checks failed
Build Docker Image / Build-Docker-Image (push) Has been cancelled

This commit is contained in:
2024-12-05 23:37:20 +01:00
parent 3db73cb6e5
commit 84fc813704
3 changed files with 10 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
package main
import (
"me-fit/db"
"me-fit/log"
"me-fit/service"
"me-fit/types"
@@ -91,11 +90,6 @@ func setupIntegrationTest(t *testing.T, port string) (*sql.DB, context.Context)
database.Close()
})
err = db.RunMigrations(database, "")
if err != nil {
t.Fatalf("Could not run migrations: %v", err)
}
go run(ctx, database, getEnv(port))
err = waitForReady(ctx, 5*time.Second, "http://localhost:8080")