You are here

protected function DestinationParameterOverrideTest::setUp in Redirect 403 to User Login 2.x

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

Overrides BrowserTestBase::setUp

File

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

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();
}