tests: fix tests

This commit is contained in:
Stavros
2025-12-31 17:25:07 +02:00
parent 7c726cbcef
commit 8652659e83
5 changed files with 26 additions and 20 deletions

View File

@@ -14,7 +14,7 @@ import (
_ "modernc.org/sqlite"
)
func (app *BootstrapApp) setupDatabase(databasePath string) (*sql.DB, error) {
func (app *BootstrapApp) SetupDatabase(databasePath string) (*sql.DB, error) {
dir := filepath.Dir(databasePath)
if err := os.MkdirAll(dir, 0750); err != nil {