mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-27 19:41:08 +00:00
Simplify assertion
This commit is contained in:
parent
20208ec7e3
commit
af9ea818a4
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
|
||||
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