You are here

public function SliderIntegrationTest::setUp in Facets 8

Overrides FacetsTestBase::setUp

File

modules/facets_range_widget/tests/src/Functional/SliderIntegrationTest.php, line 35

Class

SliderIntegrationTest
Tests the overall functionality of the Facets admin UI.

Namespace

Drupal\Tests\facets_range_widget\Functional

Code

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