protected function SearchApiSolrTest::getExpectedFacetsOfRegressionTest2469547 in Search API Solr 8.3
Same name and namespace in other branches
- 8 tests/src/Kernel/SearchApiSolrTest.php \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrTest::getExpectedFacetsOfRegressionTest2469547()
- 8.2 tests/src/Kernel/SearchApiSolrTest.php \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrTest::getExpectedFacetsOfRegressionTest2469547()
- 4.x tests/src/Kernel/SearchApiSolrTest.php \Drupal\Tests\search_api_solr\Kernel\SearchApiSolrTest::getExpectedFacetsOfRegressionTest2469547()
Return the expected facets for regression test 2469547.
The facets differ for Solr backends because of case-insensitive filters.
Return value
array An array of facet results.
1 call to SearchApiSolrTest::getExpectedFacetsOfRegressionTest2469547()
- SearchApiSolrTest::regressionTest2469547 in tests/
src/ Kernel/ SearchApiSolrTest.php - Regression tests for #2469547.
File
- tests/
src/ Kernel/ SearchApiSolrTest.php, line 185
Class
- SearchApiSolrTest
- Tests index and search capabilities using the Solr search backend.
Namespace
Drupal\Tests\search_api_solr\KernelCode
protected function getExpectedFacetsOfRegressionTest2469547() {
return [
[
'count' => 4,
'filter' => '"test"',
],
[
'count' => 3,
'filter' => '"case"',
],
[
'count' => 1,
'filter' => '"bar"',
],
[
'count' => 1,
'filter' => '"foobar"',
],
];
}