Skip to content

Commit

Permalink
Merge pull request #17358 from seamuslee001/d8_prevnext_cache_test_fix
Browse files Browse the repository at this point in the history
[TEST] Fix test failure on Drupal 8 E2E PrevNextTest by only includin…
  • Loading branch information
eileenmcnaughton authored May 24, 2020
2 parents 9a910c3 + ea71481 commit 57b4337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/E2E/Core/PrevNextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function testFillSql() {
$prefillLimit = 25;
$sort = NULL;

$query = new \CRM_Contact_BAO_Query(array(), NULL, NULL, FALSE, FALSE, 1, FALSE, TRUE, FALSE, NULL, 'AND');
$query = new \CRM_Contact_BAO_Query([['sort_name', 'IS NOT NULL', 1, 0, 0]], NULL, NULL, FALSE, FALSE, 1, FALSE, TRUE, FALSE, NULL, 'AND');
$sql = $query->searchQuery($start, $prefillLimit, $sort, FALSE, $query->_includeContactIds,
FALSE, TRUE, TRUE);
$selectSQL = "SELECT DISTINCT %1, contact_a.id, contact_a.sort_name";
Expand Down

0 comments on commit 57b4337

Please sign in to comment.