You are here

function NoreqnewpassMenuTestCase::testLinkRequestPassUserPageCheck in No Request New Password 7.2

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

File

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