protected function SearchPageTest::setUp in Opigno Search 8
Same name and namespace in other branches
- 3.x tests/src/Functional/SearchPageTest.php \Drupal\Tests\opigno_learning_path\Functional\SearchPageTest::setUp()
Overrides LearningPathBrowserTestBase::setUp
File
- tests/
src/ Functional/ SearchPageTest.php, line 41
Class
- SearchPageTest
- Tests for Search process.
Namespace
Drupal\Tests\opigno_learning_path\FunctionalCode
protected function setUp() {
parent::setUp();
// Login as search admin.
$adminUser = $this
->drupalCreateUser([
'administer search_api',
'access administration pages',
], 'TestUser');
$this
->drupalLogin($adminUser);
}