protected function IntegrationTest::setUp in Search API Solr 8
Same name and namespace in other branches
- 8.2 search_api_solr_defaults/src/Tests/IntegrationTest.php \Drupal\search_api_solr_defaults\Tests\IntegrationTest::setUp()
Overrides BrowserTestBase::setUp
File
- search_api_solr_defaults/
src/ Tests/ IntegrationTest.php, line 50
Class
- IntegrationTest
- Tests the correct installation of the default configs.
Namespace
Drupal\search_api_solr_defaults\TestsCode
protected 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(array(), NULL, TRUE);
}