You are here

protected function AgreementAccessDeniedRedirectTest::setUp in Agreement 8.2

Same name and namespace in other branches
  1. 3.0.x tests/src/Functional/AgreementAccessDeniedRedirectTest.php \Drupal\Tests\agreement\Functional\AgreementAccessDeniedRedirectTest::setUp()

Overrides AgreementTestBase::setUp

File

tests/src/Functional/AgreementAccessDeniedRedirectTest.php, line 22

Class

AgreementAccessDeniedRedirectTest
Tests that user is redirected when attempting to access privileged route.

Namespace

Drupal\Tests\agreement\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->unprivilegedUser = $this
    ->createUnprivilegedUser();
}