protected function EntityRevisionConverterTest::setUp in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 tests/src/Kernel/EntityRevisionConverterTest.php \Drupal\Tests\workbench_moderation\Kernel\EntityRevisionConverterTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ EntityRevisionConverterTest.php, line 33
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
->setUpCurrentUser();
$this
->installSchema('node', 'node_access');
\Drupal::service('router.builder')
->rebuild();
}