fix: add missing trait stubs to test mock impls

This commit is contained in:
2026-05-04 19:23:56 +02:00
parent b9933bb48d
commit 7703227970
4 changed files with 42 additions and 3 deletions

View File

@@ -85,6 +85,7 @@ impl UserRepository for NobodyUserRepo {
async fn find_by_email(&self, _: &Email) -> Result<Option<User>, DomainError> { Ok(None) }
async fn save(&self, _: &User) -> Result<(), DomainError> { panic!() }
async fn find_by_id(&self, _: &UserId) -> Result<Option<User>, DomainError> { panic!() }
async fn list_with_stats(&self) -> Result<Vec<domain::models::UserSummary>, DomainError> { panic!() }
}
async fn test_app() -> Router {