widget noscript and styling

This commit is contained in:
realaravinth
2021-05-29 13:40:11 +05:30
parent fc34353e67
commit fd67a9fa42
7 changed files with 191 additions and 88 deletions

View File

@@ -102,6 +102,20 @@ mod tests {
.await;
assert_eq!(resp.status(), StatusCode::OK);
let resp = test::call_service(
&mut app,
test::TestRequest::get().uri(&*crate::VERIFICATIN_WIDGET_JS).to_request(),
)
.await;
assert_eq!(resp.status(), StatusCode::OK);
let resp = test::call_service(
&mut app,
test::TestRequest::get().uri(&*crate::VERIFICATIN_WIDGET_CSS).to_request(),
)
.await;
assert_eq!(resp.status(), StatusCode::OK);
let resp = test::call_service(
&mut app,
test::TestRequest::get().uri(