function EntityRevisionConverterTest::setUp

Overrides KernelTestBase::setUp

File

core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php, line 33

Class

EntityRevisionConverterTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21content_moderation%21src%21ParamConverter%21EntityRevisionConverter.php/class/EntityRevisionConverter/8.9.x" title="Defines a class for making sure the edit-route loads the current draft." class="local">\Drupal\content_moderation\ParamConverter\EntityRevisionConverter</a> @group content_moderation @group legacy

Namespace

Drupal\Tests\content_moderation\Kernel

Code

protected function setUp() {
    parent::setUp();
    $this->setUpCurrentUser();
    $this->installEntitySchema('node');
    $this->installSchema('node', 'node_access');
}

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