You are here

protected function ExternalFetchTest::setUp in oEmbed Providers 1.1.x

Same name and namespace in other branches
  1. 2.x tests/src/Functional/ExternalFetchTest.php \Drupal\Tests\oembed_providers\Functional\ExternalFetchTest::setUp()
  2. 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\Functional

Code

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');
}