protected function CustomProvidersUiTest::setUp in oEmbed Providers 1.0.x
Same name in this branch
- 1.0.x tests/src/Functional/CustomProvidersUiTest.php \Drupal\Tests\oembed_providers\Functional\CustomProvidersUiTest::setUp()
- 1.0.x tests/src/FunctionalJavascript/CustomProvidersUiTest.php \Drupal\Tests\oembed_providers\FunctionalJavascript\CustomProvidersUiTest::setUp()
Same name and namespace in other branches
- 2.x tests/src/FunctionalJavascript/CustomProvidersUiTest.php \Drupal\Tests\oembed_providers\FunctionalJavascript\CustomProvidersUiTest::setUp()
- 1.1.x tests/src/FunctionalJavascript/CustomProvidersUiTest.php \Drupal\Tests\oembed_providers\FunctionalJavascript\CustomProvidersUiTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ CustomProvidersUiTest.php, line 37
Class
- CustomProvidersUiTest
- Class CustomProvidersUiTest.
Namespace
Drupal\Tests\oembed_providers\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
// Create an admin user.
$admin_user = $this
->drupalCreateUser([
'access administration pages',
'administer blocks',
'administer oembed providers',
]);
$this
->drupalLogin($admin_user);
$this
->drupalPlaceBlock('system_messages_block');
}