You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PR #4512, we introduced CQRS pattern support with dual database connections in the Auth Service. CodeRabbit identified that several of the new database functions lack test coverage.
Required Action
Add thorough tests for the following new database functions:
getCommandTenantDB
getQueryTenantDB
getCommandModelByTenant
getQueryModelByTenant
Importance
Since database operations are critical to the application, these functions must be comprehensively covered with tests that validate both successful paths (e.g., correct database connection and model registration) and failure conditions (e.g., when a connection is not established).
Background
In PR #4512, we introduced CQRS pattern support with dual database connections in the Auth Service. CodeRabbit identified that several of the new database functions lack test coverage.
Required Action
Add thorough tests for the following new database functions:
getCommandTenantDB
getQueryTenantDB
getCommandModelByTenant
getQueryModelByTenant
Importance
Since database operations are critical to the application, these functions must be comprehensively covered with tests that validate both successful paths (e.g., correct database connection and model registration) and failure conditions (e.g., when a connection is not established).
References
Requested by
@Baalmart
The text was updated successfully, but these errors were encountered: