function ConfigEntityDefaultsTest::setUp

Overrides RulesKernelTestBase::setUp

File

tests/src/Kernel/ConfigEntityDefaultsTest.php, line 47

Class

ConfigEntityDefaultsTest
Tests default config.

Namespace

Drupal\Tests\rules\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->entityTypeManager = $this->container
        ->get('entity_type.manager');
    $this->storage = $this->entityTypeManager
        ->getStorage('rules_component');
    $this->installConfig([
        'rules_test_default_component',
    ]);
}