protected function EntityRevisionConverterTest::setUp in Workbench Moderation 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/EntityRevisionConverterTest.php \Drupal\Tests\workbench_moderation\Kernel\EntityRevisionConverterTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ EntityRevisionConverterTest.php, line 21
Class
- EntityRevisionConverterTest
- @coversDefaultClass \Drupal\workbench_moderation\ParamConverter\EntityRevisionConverter @group workbench_moderation
Namespace
Drupal\Tests\workbench_moderation\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('entity_test');
$this
->installEntitySchema('node');
$this
->installEntitySchema('user');
$this
->installSchema('system', 'router');
$this
->installSchema('system', 'sequences');
$this
->installSchema('node', 'node_access');
\Drupal::service('router.builder')
->rebuild();
}