mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add workspace auditing (#3966)
This commit is contained in:
@@ -391,7 +391,8 @@ func TestPostUsers(t *testing.T) {
|
||||
Password: "testing",
|
||||
})
|
||||
require.NoError(t, err)
|
||||
assert.Len(t, auditor.AuditLogs, 1)
|
||||
|
||||
require.Len(t, auditor.AuditLogs, 1)
|
||||
assert.Equal(t, database.AuditActionCreate, auditor.AuditLogs[0].Action)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user