Simplify assertion

This commit is contained in:
Luca Palmieri 2023-02-19 18:38:12 +00:00
parent 20208ec7e3
commit af9ea818a4

View file

@ -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"));
}