You are here

protected function ThunderJavascriptTestBase::setUp in Thunder 6.1.x

Same name and namespace in other branches
  1. 8.5 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::setUp()
  2. 8.2 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::setUp()
  3. 8.3 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::setUp()
  4. 8.4 tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::setUp()
  5. 6.2.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::setUp()
  6. 6.0.x tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php \Drupal\Tests\thunder\FunctionalJavascript\ThunderJavascriptTestBase::setUp()

Overrides BrowserTestBase::setUp

2 calls to ThunderJavascriptTestBase::setUp()
AutosaveFormTest::setUp in tests/src/FunctionalJavascript/Integration/AutosaveFormTest.php
MetaInformationTest::setUp in tests/src/FunctionalJavascript/MetaInformationTest.php
2 methods override ThunderJavascriptTestBase::setUp()
AutosaveFormTest::setUp in tests/src/FunctionalJavascript/Integration/AutosaveFormTest.php
MetaInformationTest::setUp in tests/src/FunctionalJavascript/MetaInformationTest.php

File

tests/src/FunctionalJavascript/ThunderJavascriptTestBase.php, line 69

Class

ThunderJavascriptTestBase
Base class for Thunder Javascript functional tests.

Namespace

Drupal\Tests\thunder\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $this
    ->logWithRole(static::$defaultUserRole);
  $instagram = $this
    ->config('media_entity_instagram.settings');
  $instagram
    ->set('facebook_app_id', 123)
    ->set('facebook_app_secret', 123)
    ->save();
}