You are here

protected function NormalizeTest::setUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/hal/src/Tests/NormalizeTest.php \Drupal\hal\Tests\NormalizeTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides NormalizerTestBase::setUp

File

core/modules/hal/src/Tests/NormalizeTest.php, line 23
Contains \Drupal\hal\Tests\NormalizeTest.

Class

NormalizeTest
Tests that entities can be normalized in HAL.

Namespace

Drupal\hal\Tests

Code

protected function setUp() {
  parent::setUp();
  \Drupal::service('router.builder')
    ->rebuild();
}