Skip to content

Commit

Permalink
Use new method in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
philippgille committed May 4, 2024
1 parent 472e2d0 commit 3070a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func TestDB_ImportExport(t *testing.T) {
new := NewDB()

// Import
err = new.Import(tc.filePath, tc.encryptionKey)
err = new.ImportFromFile(tc.filePath, tc.encryptionKey)
if err != nil {
t.Fatal("expected no error, got", err)
}
Expand Down

0 comments on commit 3070a90

Please sign in to comment.