function RevisionViewTest::setUp

Same name in this branch
  1. main core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php \Drupal\FunctionalTests\Entity\RevisionViewTest::setUp()
Same name and namespace in other branches
  1. 11.x core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php \Drupal\FunctionalTests\Entity\RevisionViewTest::setUp()
  2. 10 core/tests/Drupal/FunctionalTests/Entity/RevisionViewTest.php \Drupal\FunctionalTests\Entity\RevisionViewTest::setUp()

File

core/tests/Drupal/KernelTests/Core/Entity/RevisionViewTest.php, line 46

Class

RevisionViewTest
Tests revision view page.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected function setUp() : void {
  parent::setUp();
  $this->installConfig('system');
  $this->installEntitySchema('entity_test_rev');
  $this->installEntitySchema('entity_test_revlog');
  \Drupal::service(ThemeInstallerInterface::class)->install([
    'stark',
  ]);
  $this->drupalPlaceBlock('page_title_block');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.