protected function EntityTest::setUp in Zircon Profile 8
Same name in this branch
- 8 core/modules/hal/src/Tests/EntityTest.php \Drupal\hal\Tests\EntityTest::setUp()
- 8 core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php \Drupal\Tests\views\Unit\Plugin\area\EntityTest::setUp()
- 8 core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php \Drupal\Tests\views\Unit\Plugin\argument_validator\EntityTest::setUp()
Same name and namespace in other branches
- 8.0 core/modules/hal/src/Tests/EntityTest.php \Drupal\hal\Tests\EntityTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides NormalizerTestBase::setUp
File
- core/
modules/ hal/ src/ Tests/ EntityTest.php, line 31 - Contains \Drupal\hal\Tests\EntityTest.
Class
- EntityTest
- Tests that nodes and terms are correctly normalized and denormalized.
Namespace
Drupal\hal\TestsCode
protected function setUp() {
parent::setUp();
\Drupal::service('router.builder')
->rebuild();
$this
->installSchema('system', array(
'sequences',
));
$this
->installSchema('comment', array(
'comment_entity_statistics',
));
$this
->installEntitySchema('taxonomy_term');
$this
->installConfig([
'node',
'comment',
]);
}