From 03c6dcbd865e2af2db5db150189504bfa493ae2e Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Sun, 15 Nov 2015 18:18:02 -0800 Subject: PLT-975 adding perm deletes --- store/sql_audit_store_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'store/sql_audit_store_test.go') diff --git a/store/sql_audit_store_test.go b/store/sql_audit_store_test.go index e265db837..4dce6701f 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().Delete(audit.UserId); r2.Err != nil { + t.Fatal(r2.Err) + } } -- cgit v1.2.3-1-g7c22