You are here

protected function ResourceFetcherTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/tests/src/Functional/ResourceFetcherTest.php \Drupal\Tests\media\Functional\ResourceFetcherTest::setUp()

Overrides MediaFunctionalTestTrait::setUp

File

core/modules/media/tests/src/Functional/ResourceFetcherTest.php, line 27

Class

ResourceFetcherTest
Tests the oEmbed resource fetcher service.

Namespace

Drupal\Tests\media\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->useFixtureProviders();
  $this
    ->lockHttpClientToFixtures();
}