mirror of
https://github.com/safing/portbase
synced 2025-09-10 14:57:46 +00:00
Update packages to new modules structure and other minor fixes
This commit is contained in:
parent
3f17d0e7a9
commit
1f77046877
11 changed files with 75 additions and 52 deletions
|
@ -128,12 +128,12 @@ func TestDatabaseSystem(t *testing.T) {
|
|||
os.Exit(1)
|
||||
}()
|
||||
|
||||
testDir, err := ioutil.TempDir("", "testing-")
|
||||
testDir, err := ioutil.TempDir("", "portbase-database-testing-")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
err = Initialize(testDir, nil)
|
||||
err = InitializeWithPath(testDir)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue