You are here

protected function EntityEmbedFilterDisabledIntegrationsTest::setUp in Entity Embed 8

Overrides EntityEmbedFilterTestBase::setUp

File

tests/src/Kernel/EntityEmbedFilterDisabledIntegrationsTest.php, line 24

Class

EntityEmbedFilterDisabledIntegrationsTest
Tests that entity embed disables certain integrations.

Namespace

Drupal\Tests\entity_embed\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig('system');
  $this->container
    ->get('current_user')
    ->addRole($this
    ->drupalCreateRole([
    'access contextual links',
    'access in-place editing',
  ]));
}