refactor: db location

Signed-off-by: skidoodle <contact@albert.lol>
This commit is contained in:
2026-01-19 00:44:03 +01:00
parent 2df37e9002
commit 2bcf339408
6 changed files with 29 additions and 8 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func TestInitDB(t *testing.T) {
}
}()
dbPath := filepath.Join(tmpDir, DBFileName)
dbPath := filepath.Join(tmpDir, DBDirName, DBFileName)
if _, err := os.Stat(dbPath); os.IsNotExist(err) {
t.Error("Database file was not created")
}