You are here

protected function AgreementTestCase::isNotAgreementPage in Agreement 6

Same name and namespace in other branches
  1. 6.2 agreement.test \AgreementTestCase::isNotAgreementPage()
  2. 7.2 agreement.test \AgreementTestCase::isNotAgreementPage()
3 calls to AgreementTestCase::isNotAgreementPage()
AgreementDefaultsPrivilegedUserTestCase::testAgreement in ./agreement.test
AgreementDefaultsUnprivilegedUserTestCase::testAgreement in ./agreement.test
AgreementTestCase::submitAgreementFormWithAgreeing in ./agreement.test

File

./agreement.test, line 64
Tests for the Agreement module

Class

AgreementTestCase
@file Tests for the Agreement module

Code

protected function isNotAgreementPage() {
  $this
    ->assertNotEqual($this->base_url . '/' . variable_get('agreement_page_url', $this->not_set), $this
    ->getUrl(), t('Not on agreement page') . ': ' . $this
    ->getUrl());
}