You are here

protected function OpignoModuleScoreTest::setUp in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x tests/src/Functional/OpignoModuleScoreTest.php \Drupal\Tests\opigno_learning_path\Functional\OpignoModuleScoreTest::setUp()

Overrides LearningPathBrowserTestBase::setUp

File

tests/src/Functional/OpignoModuleScoreTest.php, line 17

Class

OpignoModuleScoreTest
Tests Opigno module score display.

Namespace

Drupal\Tests\opigno_learning_path\Functional

Code

protected function setUp() {
  parent::setUp();
  \Drupal::service('module_installer')
    ->install([
    'opigno_statistics',
    'opigno_messaging',
    'opigno_learning_path_test',
    'search',
  ]);
  \Drupal::service('theme_handler')
    ->install([
    'platon',
  ]);
  \Drupal::service('theme_handler')
    ->setDefault('platon');
}