mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-01-18 21:32:28 +00:00
tests: fix tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user