pws reset
This commit is contained in:
@@ -247,12 +247,9 @@ mod tests {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn fresh_installation_can_open_the_initial_password_form() {
|
||||
let (status, body) = get("/initial-password").await;
|
||||
assert!(status.is_success());
|
||||
assert!(body.contains("Claim bootstrap administrator"));
|
||||
assert!(body.contains("value=\"admin\""));
|
||||
assert!(body.contains("value=\"superadmin\""));
|
||||
async fn password_page_requires_a_session() {
|
||||
let (status, _) = get("/password").await;
|
||||
assert_eq!(status, axum::http::StatusCode::SEE_OTHER);
|
||||
}
|
||||
|
||||
/// The register form carries every user-provided `RegisterRequest` field.
|
||||
|
||||
Reference in New Issue
Block a user