mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08: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:
@@ -0,0 +1,2 @@
|
||||
-- It's not possible to drop enum values from enum types, so the UP has "IF NOT
|
||||
-- EXISTS".
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TYPE resource_type ADD VALUE IF NOT EXISTS 'workspace_proxy';
|
||||
Reference in New Issue
Block a user