SearchIndexTest.php
Same filename in other branches
Namespace
Drupal\Tests\search\KernelFile
-
core/
modules/ search/ tests/ src/ Kernel/ SearchIndexTest.php
View source
<?php
namespace Drupal\Tests\search\Kernel;
use Drupal\KernelTests\KernelTestBase;
/**
* Tests the service "search.index".
*
* @group search
*/
class SearchIndexTest extends KernelTestBase {
/**
* Modules to enable.
*
* @var array
*/
protected static $modules = [
'search',
];
/**
* Test that the service "search.index" is backend overridable.
*/
public function testSearchIndexServiceIsBackendOverridable() {
$definition = $this->container
->getDefinition('search.index');
$this->assertTrue($definition->hasTag('backend_overridable'));
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
SearchIndexTest | Tests the service "search.index". |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.