You are here

protected function CustomProviderRepositoryTest::setUp in oEmbed Providers 2.x

Same name and namespace in other branches
  1. 1.0.x tests/src/Functional/CustomProviderRepositoryTest.php \Drupal\Tests\oembed_providers\Functional\CustomProviderRepositoryTest::setUp()
  2. 1.1.x tests/src/Functional/CustomProviderRepositoryTest.php \Drupal\Tests\oembed_providers\Functional\CustomProviderRepositoryTest::setUp()

Overrides MediaFunctionalTestTrait::setUp

File

tests/src/Functional/CustomProviderRepositoryTest.php, line 37

Class

CustomProviderRepositoryTest
Tests custom provider loading.

Namespace

Drupal\Tests\oembed_providers\Functional

Code

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