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

@@ -150,7 +150,7 @@ mod tests {
use std::fmt::Write;
async fn sign_in_client(data: Request) -> ServiceResponse {
let app = test_app(test_app_state().await, sign_in).await;
let app = test_app(test_app_state(Default::default()).await, sign_in).await;
let req = test::TestRequest::with_uri("/sign-in")
.method(Method::POST)