You are here

public function WidgetIntegrationTest::setUp in Facets 8

Overrides FacetsTestBase::setUp

File

tests/src/Functional/WidgetIntegrationTest.php, line 29

Class

WidgetIntegrationTest
Tests the overall functionality of the Facets admin UI.

Namespace

Drupal\Tests\facets\Functional

Code

public function setUp() {
  parent::setUp();
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->setUpExampleStructure();
  $this
    ->insertExampleContent();
  $this
    ->assertEquals($this
    ->indexItems($this->indexId), 5, '5 items were indexed.');
}