You are here

protected function MediaEntityTypePluginTest::setUp in Bynder 8

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/MediaEntityTypePluginTest.php \Drupal\Tests\bynder\Functional\MediaEntityTypePluginTest::setUp()
  2. 8.2 tests/src/Functional/MediaEntityTypePluginTest.php \Drupal\Tests\bynder\Functional\MediaEntityTypePluginTest::setUp()
  3. 4.0.x tests/src/Functional/MediaEntityTypePluginTest.php \Drupal\Tests\bynder\Functional\MediaEntityTypePluginTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/MediaEntityTypePluginTest.php, line 30

Class

MediaEntityTypePluginTest
Tests the Media entity type plugin.

Namespace

Drupal\Tests\bynder\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'administer media bundles',
    'create media',
    'view media',
  ]));
}