function EntityViewTest::setUp

Overrides RulesKernelTestBase::setUp

File

tests/src/Kernel/EntityViewTest.php, line 20

Class

EntityViewTest
Tests that rules_entity_view() does not throw fatal errors.

Namespace

Drupal\Tests\rules\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('user');
    $this->installEntitySchema('node');
    $this->installConfig([
        'system',
    ]);
    $this->installConfig([
        'field',
    ]);
    $this->installConfig([
        'node',
    ]);
    $this->installSchema('system', [
        'sequences',
    ]);
}