You are here

protected function FacetsIntegrationTest::setUp in Search API Saved Searches 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/FacetsIntegrationTest.php, line 49

Class

FacetsIntegrationTest
Tests whether saving searches works correctly with facets.

Namespace

Drupal\Tests\search_api_saved_searches\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->setUpExampleStructure();
  $this
    ->insertExampleContent();
  $this
    ->indexItems($this->indexId);
  $this->account = $this
    ->createUser([
    'use default search_api_saved_searches',
  ]);
  $this
    ->drupalLogin($this->account);
}