mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
test: Increase test coverage on auditable resources (#7038)
* test: Increase test coverage on auditable resources When adding a new audit resource, we also need to add it to the function switch statements. This is a likely mistake, now a unit test will check this for you
This commit is contained in:
Generated
+2
-1
@@ -94,7 +94,8 @@ CREATE TYPE resource_type AS ENUM (
|
||||
'api_key',
|
||||
'group',
|
||||
'workspace_build',
|
||||
'license'
|
||||
'license',
|
||||
'workspace_proxy'
|
||||
);
|
||||
|
||||
CREATE TYPE user_status AS ENUM (
|
||||
|
||||
Reference in New Issue
Block a user