protected function ServerStorageTest::setUp in Search API 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ Server/ ServerStorageTest.php, line 41
Class
- ServerStorageTest
- Tests whether the storage of search servers works correctly.
Namespace
Drupal\Tests\search_api\Kernel\ServerCode
protected function setUp() {
parent::setUp();
$this
->installSchema('system', 'key_value_expire');
$this
->installEntitySchema('search_api_task');
$this->storage = $this->container
->get('entity_type.manager')
->getStorage('search_api_server');
}