aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/shed/db_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/shed/db_test.go')
-rw-r--r--swarm/shed/db_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/swarm/shed/db_test.go b/swarm/shed/db_test.go
index 45325beeb..65fdac4a6 100644
--- a/swarm/shed/db_test.go
+++ b/swarm/shed/db_test.go
@@ -55,7 +55,7 @@ func TestDB_persistence(t *testing.T) {
}
defer os.RemoveAll(dir)
- db, err := NewDB(dir)
+ db, err := NewDB(dir, "")
if err != nil {
t.Fatal(err)
}
@@ -73,7 +73,7 @@ func TestDB_persistence(t *testing.T) {
t.Fatal(err)
}
- db2, err := NewDB(dir)
+ db2, err := NewDB(dir, "")
if err != nil {
t.Fatal(err)
}
@@ -101,7 +101,7 @@ func newTestDB(t *testing.T) (db *DB, cleanupFunc func()) {
t.Fatal(err)
}
cleanupFunc = func() { os.RemoveAll(dir) }
- db, err = NewDB(dir)
+ db, err = NewDB(dir, "")
if err != nil {
cleanupFunc()
t.Fatal(err)