Update sign-in test to include user message in redirection header
This commit is contained in:
parent
348b0f24e9
commit
c8ac7a31de
1 changed files with 2 additions and 1 deletions
|
|
@ -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(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue