public function ExtlinkExternalFileTest::setUp in External Links 8
Overrides ExtlinkTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ ExtlinkExternalFileTest.php, line 15
Class
- ExtlinkExternalFileTest
- 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();
}