Add test postgres db connection

This commit is contained in:
2025-03-06 19:23:24 +01:00
parent 4766a166df
commit 629baa9952
8 changed files with 77 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ import (
)
func TestSessionOperations(t *testing.T) {
database, err := db.NewTestDB(&mockSecrets{})
database, err := db.NewTestSQLiteDB(&mockSecrets{})
if err != nil {
t.Fatalf("failed to create test database: %v", err)
}