Skip to content
Snippets Groups Projects

ISTWCMS-6487: Added reset password tests to authSiteTest()

Closed Jovan Fang requested to merge feature/ISTWCMS-6487-j8fang-auth-password-reset into 3.2.x
@@ -7391,6 +7391,13 @@ class UwWcmsBasicTest extends BrowserTestBase {
}
// Check password reset does not exist for logged out users.
$this->assertSession()->pageTextNotContains('Reset your password');
$this->drupalGet('user/password');
// Redirected login url for password reset while logged out.
$this->assertSession()->addressEquals('user/login?destination=/user/password');
// Log in as authenticated user.
$this->switchUser('authenticated');
Loading