Skip to content

Commit

Permalink
[TEST] Fix test failure on Drupal 8 E2E PrevNextTest by only includin…
Browse files Browse the repository at this point in the history
…g contacts where there is a sort name
  • Loading branch information
seamuslee001 committed May 19, 2020
1 parent 8e268ef commit ea71481
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 ea71481

Please sign in to comment.