Skip to content

Commit 4061cd0

Browse files
committed
print test string
1 parent 34749e4 commit 4061cd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/main_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ func setupTestDB(t *testing.T) *sql.DB {
3232
if testConnStr == "" {
3333
t.Fatalf("TEST_DATABASE_URL is not set")
3434
}
35+
fmt.Println("Connecting to test database:", testConnStr)
3536
db, err := sql.Open("postgres", testConnStr)
3637

38+
39+
3740
if err != nil {
3841
t.Fatalf("Failed to connect to test database: %v", err)
3942
}

0 commit comments

Comments
 (0)