function NoreqnewpassMenuTestCase::testLinkRequestPassUserPageCheck in No Request New Password 7.2
Same name and namespace in other branches
- 6 noreqnewpass.test \NoreqnewpassMenuTestCase::testLinkRequestPassUserPageCheck()
- 7 tests/noreqnewpass.test \NoreqnewpassMenuTestCase::testLinkRequestPassUserPageCheck()
File
- tests/
noreqnewpass.test, line 23
Class
Code
function testLinkRequestPassUserPageCheck() {
$link = l(t('Request new password'), 'user/password');
$this
->drupalGet('user');
$this
->assertNoRaw($link, t('Make sure a link dont appears to "Request new password" on the user register page.'));
}