You are here

public function IntegrationTest::setUp in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x modules/search_api_solr_defaults/tests/src/Functional/IntegrationTest.php \Drupal\Tests\search_api_solr_defaults\Functional\IntegrationTest::setUp()

Overrides BrowserTestBase::setUp

File

modules/search_api_solr_defaults/tests/src/Functional/IntegrationTest.php, line 45

Class

IntegrationTest
Tests the correct installation of the default configs.

Namespace

Drupal\Tests\search_api_solr_defaults\Functional

Code

public function setUp() {
  parent::setUp();

  // Create user with content access permission to see if the view is
  // accessible, and an admin to do the setup.
  $this->authenticatedUser = $this
    ->drupalCreateUser();
  $this->adminUser = $this
    ->drupalCreateUser([], NULL, TRUE);
}