public function ViewsTest::testSearchView in Search API Solr 8.3
Same name and namespace in other branches
- 8 tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest::testSearchView()
- 8.2 tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest::testSearchView()
- 4.x tests/src/Functional/ViewsTest.php \Drupal\Tests\search_api_solr\Functional\ViewsTest::testSearchView()
Tests a view with exposed filters.
Overrides ViewsTest::testSearchView
File
- tests/
src/ Functional/ ViewsTest.php, line 67
Class
- ViewsTest
- Tests the Views integration of the Search API.
Namespace
Drupal\Tests\search_api_solr\FunctionalCode
public function testSearchView() {
// @see https://www.drupal.org/node/2773019
$query = [
'language' => [
'***LANGUAGE_language_interface***',
],
];
$this
->checkResults($query, [
1,
2,
3,
4,
5,
], 'Search with interface language as filter');
parent::testSearchView();
}