Commit d97afa72 authored by Irzhy Ranaivoarivony's avatar Irzhy Ranaivoarivony Committed by Maria A Nunez
Browse files

MM-19352 - Migrated test in store/storetest/audit_store.go to… (#12739)

parent 99f343f4
......@@ -45,9 +45,7 @@ func testAuditStore(t *testing.T, ss store.Store) {
audits, err = ss.Audit().Get("", 0, 100)
require.Nil(t, err)
if len(audits) < 4 {
t.Fatal("Failed to save and retrieve 4 audit logs")
}
require.Len(t, audits, 4, "Failed to save and retrieve 4 audit logs")
require.Nil(t, ss.Audit().PermanentDeleteByUser(audit.UserId))
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment