protected function OpignoLinkConditionTest::setUp in Opigno Learning path 3.x
Same name and namespace in other branches
- 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\FunctionalCode
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');
}