protected function BackendTestBase::regressionTest2284199 in Search API 8
Regression tests for problems with taxonomy term parent.
See also
https://www.drupal.org/node/2284199
1 call to BackendTestBase::regressionTest2284199()
- BackendTestBase::regressionTests2 in tests/
src/ Kernel/ BackendTestBase.php - Executes regression tests which are unpractical to run in between.
File
- tests/
src/ Kernel/ BackendTestBase.php, line 979
Class
- BackendTestBase
- Provides a base class for backend tests.
Namespace
Drupal\Tests\search_api\KernelCode
protected function regressionTest2284199() {
$this
->addTestEntity(7, [
'type' => 'item',
]);
$count = $this
->indexItems($this->indexId);
$this
->assertEquals(1, $count, 'Indexing an item with an empty value for a non string field worked.');
}