Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
handlers: fix test after a translation update
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Oct 5, 2023
1 parent d7bc27c commit db1b43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/handlers/src/views/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ mod test {
let response = state.request(Request::get("/login").empty()).await;
response.assert_status(StatusCode::OK);
response.assert_header_value(CONTENT_TYPE, "text/html; charset=utf-8");
assert!(response.body().contains("No login method available"));
assert!(response.body().contains("No login methods available"));

// Adding an upstream provider should redirect to it
let mut repo = state.repository().await.unwrap();
Expand Down

0 comments on commit db1b43b

Please sign in to comment.