Add comprehensive tests for hackathon service functionality
- Implemented tests for creating, retrieving, updating, and deleting hackathons. - Added validation tests for hackathon creation and updates. - Included tests for hackathon events and timelines, ensuring proper handling of edge cases. - Created tests for hackathon submissions, including validation and submission status updates. - Organized tests into a dedicated module for better structure and maintainability.
This commit is contained in:
@@ -13,6 +13,7 @@ use imphnen_cms::{
|
||||
};
|
||||
use imphnen_dimentorin::dimentorin_router;
|
||||
use imphnen_gacha::gacha_router;
|
||||
use imphnen_hackathon::v1::hackathon_protected_routes;
|
||||
use imphnen_iam::{
|
||||
iam_protected_routes,
|
||||
iam_public_routes,
|
||||
@@ -48,6 +49,7 @@ pub async fn gateway_service(
|
||||
.merge(events_protected_routes())
|
||||
.merge(testimonials_protected_routes())
|
||||
.merge(dimentorin_router())
|
||||
.merge(hackathon_protected_routes())
|
||||
.nest("/gacha", gacha_router())
|
||||
.layer(from_fn(auth_middleware));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user