protected function OEmbedFormatterTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php \Drupal\Tests\media\Functional\FieldFormatter\OEmbedFormatterTest::setUp()
Overrides MediaFunctionalTestTrait::setUp
File
- core/
modules/ media/ tests/ src/ Functional/ FieldFormatter/ OEmbedFormatterTest.php, line 38
Class
Namespace
Drupal\Tests\media\Functional\FieldFormatterCode
protected function setUp() : void {
parent::setUp();
$this
->lockHttpClientToFixtures();
\Drupal::configFactory()
->getEditable('media.settings')
->set('standalone_url', TRUE)
->save(TRUE);
$this->container
->get('router.builder')
->rebuild();
}