From bdd5cdaa3f52a8136e02cabf6241ec077ea5a7de Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Sun, 19 Feb 2023 18:38:47 +0000 Subject: [PATCH] Simplify assertion --- tests/api/login.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api/login.rs b/tests/api/login.rs index 19e8caf..cbaf3dd 100644 --- a/tests/api/login.rs +++ b/tests/api/login.rs @@ -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("
Authentication failed
")); + assert!(!html_page.contains("Authentication failed")); }