protected function AgreementAccessDeniedRedirectTest::setUp in Agreement 3.0.x
Same name and namespace in other branches
- 8.2 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\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->unprivilegedUser = $this
->createUnprivilegedUser();
}