diff --git a/backend/internal/repository/postgres/postgres_test.go b/backend/internal/repository/postgres/postgres_test.go index 922e219..221dd3f 100644 --- a/backend/internal/repository/postgres/postgres_test.go +++ b/backend/internal/repository/postgres/postgres_test.go @@ -18,6 +18,7 @@ func TestDatabaseConnection(t *testing.T) { } // Simple .env loader for testing purposes + // Try loading from project root (3 levels up from this file) if content, err := os.ReadFile("../../../.env"); err == nil { for _, line := range strings.Split(string(content), "\n") { parts := strings.SplitN(line, "=", 2)