Add unit tests for TeamsRepository and TeamsService

- Implement tests for team creation, retrieval, updating, and deletion in TeamsRepository.
- Add tests for team member management including adding and removing members.
- Create tests for team invitations and searching teams.
- Ensure proper cleanup of test data after each test case.
- Validate unauthorized operations for team management.
This commit is contained in:
MythEclipse
2025-09-22 14:59:38 +07:00
parent 6da1b2a7e7
commit 39b75f410f
17 changed files with 2829 additions and 22 deletions
+3 -1
View File
@@ -26,4 +26,6 @@ uuid.workspace = true
rand.workspace = true
chrono.workspace = true
axum.workspace = true
axum.workspace = true
yoke = { version = "0.8.0", features = ["derive", "alloc"] }
yoke-derive = "0.8.0"