get notifications

This commit is contained in:
realaravinth
2021-05-10 15:38:09 +05:30
parent aa0c30f1bd
commit 91ca00ea79
18 changed files with 241 additions and 25 deletions

View File

@@ -80,7 +80,8 @@ mod tests {
let get_config_resp = test::call_service(
&mut app,
post_request!(&get_config_payload, V1_API_ROUTES.pow.get_config).to_request(),
post_request!(&get_config_payload, V1_API_ROUTES.pow.get_config)
.to_request(),
)
.await;
assert_eq!(get_config_resp.status(), StatusCode::OK);
@@ -119,7 +120,9 @@ mod tests {
err.error,
format!(
"{}",
ServiceError::CaptchaError(m_captcha::errors::CaptchaError::StringNotFound)
ServiceError::CaptchaError(
m_captcha::errors::CaptchaError::StringNotFound
)
)
);