You are here

protected function OpignoLinkConditionTest::setUp in Opigno Learning path 3.x

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

Overrides LearningPathBrowserTestBase::setUp

File

tests/src/Functional/OpignoLinkConditionTest.php, line 20

Class

OpignoLinkConditionTest
Tests Opigno Group Link behavior.

Namespace

Drupal\Tests\opigno_learning_path\Functional

Code

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

  // Install dependencies.
  \Drupal::service('module_installer')
    ->install([
    'opigno_messaging',
    'opigno_learning_path_test',
    'search',
  ]);

  // Install Platon theme.
  \Drupal::service('theme_handler')
    ->install([
    'aristotle',
  ]);
  \Drupal::service('theme_handler')
    ->setDefault('aristotle');
}