Update sign-in test to include user message in redirection header

This commit is contained in:
Greg Burri 2025-05-05 02:01:36 +02:00
parent 348b0f24e9
commit c8ac7a31de

View file

@ -168,7 +168,8 @@ async fn sign_in() -> Result<(), Box<dyn Error>> {
// Assert.
response.assert_status_see_other(); // Redirection after successful sign in.
response.assert_text("");
response.assert_header("location", "/en/"); // English is the default language.
// English is the default language.
response.assert_header("location", "/en/?user_message=16&user_message_icon=0");
dbg!(&response);
Ok(())