public function IntegrationTest::setUp in Search API Solr 4.x
Same name in this branch
- 4.x modules/search_api_solr_legacy/tests/src/Functional/IntegrationTest.php \Drupal\Tests\search_api_solr_legacy\Functional\IntegrationTest::setUp()
- 4.x modules/search_api_solr_defaults/tests/src/Functional/IntegrationTest.php \Drupal\Tests\search_api_solr_defaults\Functional\IntegrationTest::setUp()
Same name and namespace in other branches
- 8.3 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 50
Class
- IntegrationTest
- Tests the correct installation of the default configs.
Namespace
Drupal\Tests\search_api_solr_defaults\FunctionalCode
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);
}