Skip to content

Commit 3070a90

Browse files
committed
Use new method in unit test
1 parent 472e2d0 commit 3070a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎db_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func TestDB_ImportExport(t *testing.T) {
147147
new := NewDB()
148148

149149
// Import
150-
err = new.Import(tc.filePath, tc.encryptionKey)
150+
err = new.ImportFromFile(tc.filePath, tc.encryptionKey)
151151
if err != nil {
152152
t.Fatal("expected no error, got", err)
153153
}

0 commit comments

Comments
 (0)