You are here

public function CommandHelperTest::testSetIndexServerCommandWithInvalidIndex in Search API 8

Tests setIndexServerCommand.

@covers ::setIndexServerCommand

File

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

Class

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

Namespace

Drupal\Tests\search_api\Kernel\System

Code

public function testSetIndexServerCommandWithInvalidIndex() {
  $this
    ->expectException(ConsoleException::class);
  $this->systemUnderTest
    ->setIndexServerCommand('foo', 'test_server');
}