You are here

protected function RestLinkManagerTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/rest/src/Tests/RestLinkManagerTest.php \Drupal\rest\Tests\RestLinkManagerTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/rest/src/Tests/RestLinkManagerTest.php, line 26
Contains \Drupal\rest\Tests\RestLinkManagerTest.

Class

RestLinkManagerTest
Tests that REST type and relation link managers work as expected @group rest

Namespace

Drupal\rest\Tests

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', [
    'router',
  ]);
  \Drupal::service('router.builder')
    ->rebuild();
}