You are here

protected function OpignoLinkConditionTest::setUp in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x 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([
    'platon',
  ]);
  \Drupal::service('theme_handler')
    ->setDefault('platon');
}