Fix tests for db type

This commit is contained in:
2025-02-22 22:32:38 +01:00
parent d47f7d7fb0
commit 25defa5b65
12 changed files with 68 additions and 128 deletions

View File

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