protected function BlazyJavaScriptTestBase::setUp in Blazy 8.2
Overrides BrowserTestBase::setUp
1 call to BlazyJavaScriptTestBase::setUp()
- BlazyIoJavaScriptTest::setUp in tests/
src/ FunctionalJavascript/ BlazyIoJavaScriptTest.php
1 method overrides BlazyJavaScriptTestBase::setUp()
- BlazyIoJavaScriptTest::setUp in tests/
src/ FunctionalJavascript/ BlazyIoJavaScriptTest.php
File
- tests/
src/ FunctionalJavascript/ BlazyJavaScriptTestBase.php, line 46
Class
- BlazyJavaScriptTestBase
- Tests the Blazy JavaScript using PhantomJS, or Chromedriver.
Namespace
Drupal\Tests\blazy\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
$this
->setUpVariables();
$this->root = $this->container
->get('app.root');
$this->fileSystem = $this->container
->get('file_system');
$this->entityFieldManager = $this->container
->get('entity_field.manager');
$this->formatterPluginManager = $this->container
->get('plugin.manager.field.formatter');
$this->blazyAdmin = $this->container
->get('blazy.admin');
$this->blazyManager = $this->container
->get('blazy.manager');
$this->scriptLoader = 'blazy';
$this->maxParagraphs = 180;
}