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.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/store/sql_audit_store_test.go b/store/sql_audit_store_test.go
index e265db837..b395631f1 100644
--- a/store/sql_audit_store_test.go
+++ b/store/sql_audit_store_test.go
@@ -44,4 +44,8 @@ func TestSqlAuditStore(t *testing.T) {
if len(audits) != 0 {
t.Fatal("Should have returned empty because user_id is missing")
}
+
+ if r2 := <-store.Audit().PermanentDeleteByUser(audit.UserId); r2.Err != nil {
+ t.Fatal(r2.Err)
+ }
}