You are here

public function CoreViewsIntegrationTest::setUp in Core Views Facets 8

Overrides WebTestBase::setUp

File

tests/src/Functional/CoreViewsIntegrationTest.php, line 30

Class

CoreViewsIntegrationTest
Tests the overall functionality of the Facets admin UI.

Namespace

Drupal\Tests\core_views_facets\Functional

Code

public function setUp() {
  parent::setUp();
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->setUpExampleStructure();
  $this
    ->insertExampleContent();

  // Create test views.
  ViewTestData::createTestViews(get_class($this), [
    'core_views_facets_test_views',
  ]);

  // Make absolutely sure the ::$blocks variable doesn't pass information
  // along between tests.
  $this->blocks = NULL;
}