You are here

protected function DestinationParameterOverrideTest::setUp in Redirect 403 to User Login 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/DestinationParameterOverrideTest.php \Drupal\Tests\r4032login\Functional\DestinationParameterOverrideTest::setUp()

Overrides BrowserTestBase::setUp

File

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

Class

DestinationParameterOverrideTest
Test that it is possible to override the destination parameter.

Namespace

Drupal\Tests\r4032login\Functional

Code

protected function setUp() {
  parent::setUp();
  $config = $this
    ->config('r4032login.settings');
  $config
    ->set('destination_parameter_override', 'customDestination');
  $config
    ->save();
}