Simplify assertion

This commit is contained in:
Luca Palmieri 2023-02-19 18:34:45 +00:00
parent c3e0da643e
commit 84246aadd8

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