public function ExtlinkExternalFileTargetTest::setUp in External Links 8
Overrides ExtlinkTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ ExtlinkExternalFileTargetTest.php, line 15
Class
- ExtlinkExternalFileTargetTest
- Testing the basic functionality of External Links when external file enabled.
Namespace
Drupal\Tests\extlink\FunctionalJavascriptCode
public function setUp() {
parent::setUp();
// Enable the use of the external JS file.
$config = $this->container
->get('config.factory')
->getEditable('extlink.settings');
$config
->set('extlink_use_external_js_file', TRUE)
->save();
}