You are here

function NoreqnewpassMenuTestCase::testLinkRequestPassFrontPageCheck in No Request New Password 7.2

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

File

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