mirror of
https://github.com/safing/portbase
synced 2025-09-10 06:15:08 +00:00
Fix various issues during portmaster development
This commit is contained in:
parent
a943e3315f
commit
358e684909
5 changed files with 92 additions and 41 deletions
|
@ -131,7 +131,11 @@ func TestDatabaseSystem(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
err = Initialize(testDir)
|
||||
ok := SetLocation(testDir)
|
||||
if !ok {
|
||||
t.Fatal("database location already set")
|
||||
}
|
||||
err = Initialize()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue