public function AddServerFormTest::setUp in Search API 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ AddServerFormTest.php, line 33
Class
- AddServerFormTest
- Tests the "Add server" form.
Namespace
Drupal\Tests\search_api\FunctionalCode
public function setUp() {
parent::setUp();
// Create the users used for the tests.
$adminUser = $this
->drupalCreateUser([
'administer search_api',
'access administration pages',
]);
$this
->drupalLogin($adminUser);
}