protected function MediaEntityTypePluginTest::setUp in Bynder 8.3
Same name and namespace in other branches
- 8 tests/src/Functional/MediaEntityTypePluginTest.php \Drupal\Tests\bynder\Functional\MediaEntityTypePluginTest::setUp()
- 8.2 tests/src/Functional/MediaEntityTypePluginTest.php \Drupal\Tests\bynder\Functional\MediaEntityTypePluginTest::setUp()
- 4.0.x tests/src/Functional/MediaEntityTypePluginTest.php \Drupal\Tests\bynder\Functional\MediaEntityTypePluginTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ MediaEntityTypePluginTest.php, line 35
Class
- MediaEntityTypePluginTest
- Tests the Media entity type plugin.
Namespace
Drupal\Tests\bynder\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->drupalLogin($this
->drupalCreateUser([
'administer media types',
'create media',
'view media',
]));
// Enable standalone media URL's to test how they are displayed.
$this
->config('media.settings')
->set('standalone_url', TRUE)
->save();
$this
->rebuildAll();
}