mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-28 03:24:05 +00:00
* Abstracting the `OrganizationRepository` in `CommandOpts` to allow for mock implementations during testing. * Generating mocks for `OrganizationRepository` and `OrganizationDomainRepository` using `mockgen`. * Updating the `UpdateOrgCommand` tests to use the new mock repositories, which simplifies the test setup and removes the need for `dbmock`. * Enhancing the `database.Change`, `database.Column`, and `database.Condition` interfaces to implement `gomock.Matcher`, enabling more effective use of gomock for matching database operations in tests. * Introducing a `noopdb` package that provides a no-operation database client for testing purposes.