protected function SkipRedirectTest::setUp in Redirect 403 to User Login 8
Same name and namespace in other branches
- 2.x tests/src/Functional/SkipRedirectTest.php \Drupal\Tests\r4032login\Functional\SkipRedirectTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ SkipRedirectTest.php, line 22
Class
- SkipRedirectTest
- Test that is well avoided to redirect for configured urls.
Namespace
Drupal\Tests\r4032login\FunctionalCode
protected function setUp() {
parent::setUp();
$config = $this
->config('r4032login.settings');
$config
->set('match_noredirect_pages', "/admin/config/*\n/admin/modules");
$config
->save();
}