You are here

protected function BackendTestBase::checkDefaultServer in Search API 8

Tests the server that was installed through default configuration files.

1 call to BackendTestBase::checkDefaultServer()
BackendTestBase::testBackend in tests/src/Kernel/BackendTestBase.php
Tests various indexing scenarios for the search backend.

File

tests/src/Kernel/BackendTestBase.php, line 149

Class

BackendTestBase
Provides a base class for backend tests.

Namespace

Drupal\Tests\search_api\Kernel

Code

protected function checkDefaultServer() {
  $server = $this
    ->getServer();
  $this
    ->assertInstanceOf(Server::class, $server, 'The server was successfully created.');
}