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:
2025-11-21 12:49:23 +01:00
parent 06aeedc3b0
commit 862060875b
3 changed files with 825 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
.testCoverage.txt
.testCoverage.txt.tmp
coverage.html
coverage.out
/exported
/release
/schemactl