protected function DisplayPageTest::setUp

Sets up Drupal unit test environment.

Overrides ViewUnitTestBase::setUp

See also

DrupalUnitTestBase::$modules

DrupalUnitTestBase

File

drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayPageTest.php, line 56
Contains \Drupal\views\Tests\Plugin\DisplayPageTest.

Class

DisplayPageTest
Tests the page display plugin.

Namespace

Drupal\views\Tests\Plugin

Code

protected function setUp() {
  parent::setUp();

  // Setup the needed tables in order to make the drupal router working.
  $this
    ->installSchema('system', 'router');
  $this
    ->installSchema('system', 'url_alias');
  $this
    ->installSchema('system', 'menu_router');
  $this
    ->installSchema('user', 'role_permission');
}