function RevisionRouteProviderTest::setUp
Same name in this branch
- 11.x core/tests/Drupal/FunctionalTests/Entity/RevisionRouteProviderTest.php \Drupal\FunctionalTests\Entity\RevisionRouteProviderTest::setUp()
Same name in other branches
- 10 core/tests/Drupal/KernelTests/Core/Entity/RevisionRouteProviderTest.php \Drupal\KernelTests\Core\Entity\RevisionRouteProviderTest::setUp()
- 10 core/tests/Drupal/FunctionalTests/Entity/RevisionRouteProviderTest.php \Drupal\FunctionalTests\Entity\RevisionRouteProviderTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Entity/ RevisionRouteProviderTest.php, line 29
Class
- RevisionRouteProviderTest
- Tests revision route provider.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('entity_test_rev');
$this->installEntitySchema('user');
$this->setUpCurrentUser([
'uid' => 1,
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.