protected function AgreementTestCase::isFrontPage in Agreement 7.2
Same name and namespace in other branches
- 6.2 agreement.test \AgreementTestCase::isFrontPage()
- 6 agreement.test \AgreementTestCase::isFrontPage()
Checks if the current page is the front page (node/).
1 call to AgreementTestCase::isFrontPage()
- AgreementCustomUnprivilegedUserTestCase::testAgreementDestination in ./
agreement.test - Tests the agreement destination functionality.
File
- ./
agreement.test, line 124 - Tests for Agreement module.
Class
- AgreementTestCase
- Agreement base test class.
Code
protected function isFrontPage() {
$this
->assertUrl('node', array(), t('On front page: !url', array(
'!url' => $this
->getUrl(),
)));
}