test: add validation and event tests for organization and API key

Adds unit tests for the `AddOrganization` and `AddAPIKey` commands. 
These tests validate various scenarios, including success cases, 
handling of already existing organizations or keys, and ensuring 
required fields are checked. The
changes enhance test coverage and ensure robustness of the command 
logic.
This commit is contained in:
argoyle committed 2025-11-21 12:49:23 +01:00
1 parent 06aeedc3b0
commit 862060875b
3 files changed
+825

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
.testCoverage.txt
.testCoverage.txt.tmp
coverage.html
coverage.out
/exported
/release
/schemactl