aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/data/get_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/data/get_test.go')
-rw-r--r--pkg/data/get_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/data/get_test.go b/pkg/data/get_test.go
index 22e5af2..9ee8a2a 100644
--- a/pkg/data/get_test.go
+++ b/pkg/data/get_test.go
@@ -12,7 +12,7 @@ import (
func singleDoc(t *testing.T) *sql.DB {
t.Helper()
- db := data.NewMemDB()
+ db := data.NewMemDB("test")
if _, err := db.Exec(`
INSERT INTO Documents (path, title, date, fileTime)
@@ -68,7 +68,7 @@ func singleDoc(t *testing.T) *sql.DB {
func multiDoc(t *testing.T) *sql.DB {
t.Helper()
- db := data.NewMemDB()
+ db := data.NewMemDB("test")
if _, err := db.Exec(`
INSERT INTO Documents (path, title, date, fileTime)