You are here

public function ToolbarTest::setUp in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/tests/src/FunctionalJavascript/ToolbarTest.php \Drupal\Tests\webprofiler\FunctionalJavascript\ToolbarTest::setUp()
  2. 8.2 webprofiler/tests/src/FunctionalJavascript/ToolbarTest.php \Drupal\Tests\webprofiler\FunctionalJavascript\ToolbarTest::setUp()
  3. 4.x webprofiler/tests/src/FunctionalJavascript/ToolbarTest.php \Drupal\Tests\webprofiler\FunctionalJavascript\ToolbarTest::setUp()

Overrides BrowserTestBase::setUp

File

webprofiler/tests/src/FunctionalJavascript/ToolbarTest.php, line 20

Class

ToolbarTest
Tests the JavaScript functionality of webprofiler.

Namespace

Drupal\Tests\webprofiler\FunctionalJavascript

Code

public function setUp() {
  parent::setUp();
  \Drupal::configFactory()
    ->getEditable('system.site')
    ->set('page.front', '/node')
    ->save(TRUE);
}