summaryrefslogtreecommitdiffstats
path: root/store/sql_audit_store_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/sql_audit_store_test.go')
-rw-r--r--store/sql_audit_store_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_audit_store_test.go b/store/sql_audit_store_test.go
index 4dce6701f..b395631f1 100644
--- a/store/sql_audit_store_test.go
+++ b/store/sql_audit_store_test.go
@@ -45,7 +45,7 @@ func TestSqlAuditStore(t *testing.T) {
t.Fatal("Should have returned empty because user_id is missing")
}
- if r2 := <-store.Audit().Delete(audit.UserId); r2.Err != nil {
+ if r2 := <-store.Audit().PermanentDeleteByUser(audit.UserId); r2.Err != nil {
t.Fatal(r2.Err)
}
}