mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-18 05:56:35 +00:00
Simplify assertion
This commit is contained in:
parent
c3e0da643e
commit
84246aadd8
1 changed files with 1 additions and 1 deletions
|
@ -21,5 +21,5 @@ async fn an_error_flash_message_is_set_on_failure() {
|
||||||
|
|
||||||
// Act - Part 3 - Reload the login page
|
// Act - Part 3 - Reload the login page
|
||||||
let html_page = app.get_login_html().await;
|
let html_page = app.get_login_html().await;
|
||||||
assert!(!html_page.contains("<p><i>Authentication failed</i></p>"));
|
assert!(!html_page.contains("Authentication failed"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue