public function ServerStorageTest::testServerCrud in Search API 8
Tests all CRUD operations as a queue of operations.
File
- tests/
src/ Kernel/ Server/ ServerStorageTest.php, line 53
Class
- ServerStorageTest
- Tests whether the storage of search servers works correctly.
Namespace
Drupal\Tests\search_api\Kernel\ServerCode
public function testServerCrud() {
$this
->assertInstanceOf(ConfigEntityStorage::class, $this->storage, 'The Search API Server storage controller is loaded.');
$server = $this
->serverCreate();
$this
->serverLoad($server);
$this
->serverUpdate($server);
$this
->serverDelete($server);
}