You are here

public function CommandHelperTest::testSetIndexServerCommandWithInvalidServer in Search API 8

Tests setIndexServerCommand.

@covers ::setIndexServerCommand

File

tests/src/Kernel/System/CommandHelperTest.php, line 388

Class

CommandHelperTest
Tests Search API functionality that gets executed by console utilities.

Namespace

Drupal\Tests\search_api\Kernel\System

Code

public function testSetIndexServerCommandWithInvalidServer() {
  $this
    ->expectException(ConsoleException::class);
  $this->systemUnderTest
    ->setIndexServerCommand('test_index', 'bar');
}