You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-31 09:24:31 +03:00
Make the upstream provider URL better display & fix test
This commit is contained in:
@ -388,15 +388,11 @@ 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(&escape_html(&first_provider.issuer)));
|
||||
assert!(response.body().contains(&escape_html("first.com/")));
|
||||
assert!(response
|
||||
.body()
|
||||
.contains(&escape_html(&first_provider_login.path_and_query())));
|
||||
assert!(response
|
||||
.body()
|
||||
.contains(&escape_html(&second_provider.issuer)));
|
||||
assert!(response.body().contains(&escape_html("second.com/")));
|
||||
assert!(response
|
||||
.body()
|
||||
.contains(&escape_html(&second_provider_login.path_and_query())));
|
||||
|
Reference in New Issue
Block a user