You are here

public function SearchIndexTest::testSearchIndexServiceIsBackendOverridable in Drupal 9

Test that the service "search.index" is backend overridable.

File

core/modules/search/tests/src/Kernel/SearchIndexTest.php, line 24

Class

SearchIndexTest
Tests the service "search.index".

Namespace

Drupal\Tests\search\Kernel

Code

public function testSearchIndexServiceIsBackendOverridable() {
  $definition = $this->container
    ->getDefinition('search.index');
  $this
    ->assertTrue($definition
    ->hasTag('backend_overridable'));
}