Skip to content

Commit

Permalink
Simplify assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeMathWalker committed Feb 19, 2023
1 parent c3e0da6 commit 84246aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}

0 comments on commit 84246aa

Please sign in to comment.