You are here

function NoreqnewpassMenuTestCase::testLinkRequestPassUserPageCheck in No Request New Password 6

Same name and namespace in other branches
  1. 7.2 tests/noreqnewpass.test \NoreqnewpassMenuTestCase::testLinkRequestPassUserPageCheck()
  2. 7 tests/noreqnewpass.test \NoreqnewpassMenuTestCase::testLinkRequestPassUserPageCheck()

File

./noreqnewpass.test, line 23

Class

NoreqnewpassMenuTestCase

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.'));
}