protected function SkipRedirectTest::setUp in Redirect 403 to User Login 2.x
Same name and namespace in other branches
- 8 tests/src/Functional/SkipRedirectTest.php \Drupal\Tests\r4032login\Functional\SkipRedirectTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ SkipRedirectTest.php, line 27
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();
}