You are here

function NoreqnewpassMenuTestCase::testLinkRequestPassFrontPageCheck in No Request New Password 6

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

File

./noreqnewpass.test, line 17

Class

NoreqnewpassMenuTestCase

Code

function testLinkRequestPassFrontPageCheck() {
  $link = l(t('Request new password'), 'user/password');
  $this
    ->drupalGet('');
  $this
    ->assertNoRaw($link, t('Make sure a link dont appears to "Request new password" on front page.'));
}