You are here

protected function ViewsTest::regressionTest3031991 in Search API 8

Tests the interaction of multiple fulltext filters.

See also

https://www.drupal.org/node/3031991

1 call to ViewsTest::regressionTest3031991()
ViewsTest::regressionTests in tests/src/Functional/ViewsTest.php
Contains regression tests for previous, fixed bugs.

File

tests/src/Functional/ViewsTest.php, line 460

Class

ViewsTest
Tests the Views integration of the Search API.

Namespace

Drupal\Tests\search_api\Functional

Code

protected function regressionTest3031991() {
  $query = [
    'search_api_fulltext' => 'foo blabla',
    'search_api_fulltext_op' => 'or',
    'search_api_fulltext_2' => 'bar',
    'search_api_fulltext_2_op' => 'not',
  ];
  $this
    ->checkResults($query, [
    4,
  ], 'Search with multiple fulltext filters');
}