You are here

protected function ShareMessageJavascriptTest::setUp in Share Message 8

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/ShareMessageJavascriptTest.php, line 22

Class

ShareMessageJavascriptTest
Sharemessage javascript tests.

Namespace

Drupal\Tests\sharemessage\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();

  // Install bartik theme.
  \Drupal::service('theme_installer')
    ->install([
    'bartik',
  ]);
  $theme_settings = $this
    ->config('system.theme');
  $theme_settings
    ->set('default', 'bartik')
    ->save();
  \Drupal::service('module_installer')
    ->install([
    'sharemessage',
    'sharemessage_demo',
  ]);
}