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