Update packages to new modules structure and other minor fixes

This commit is contained in:
Daniel 2020-02-18 15:44:18 +01:00
parent 3f17d0e7a9
commit 1f77046877
11 changed files with 75 additions and 52 deletions

View file

@ -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)
}