feat(test): add ability to use test env without schedule

This commit is contained in:
2025-05-25 15:48:10 +04:00
parent fceffb900d
commit 234055eaeb
4 changed files with 39 additions and 13 deletions

View File

@@ -255,7 +255,7 @@ mod tests {
}
async fn sign_up_client(data: SignUpPartial) -> ServiceResponse {
let app = test_app(test_app_state().await, sign_up).await;
let app = test_app(test_app_state(Default::default()).await, sign_up).await;
let req = test::TestRequest::with_uri("/sign-up")
.method(Method::POST)