From a30043f2026b907ad02fcc06fd6a335a5dcff3a8 Mon Sep 17 00:00:00 2001 From: Mattias Michaux Date: Mon, 16 May 2016 21:42:37 +0200 Subject: [PATCH] Fix test failure on MariaDB due to default sorting. --- tests/phpunit/CRM/Contact/Form/Search/Custom/SampleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Contact/Form/Search/Custom/SampleTest.php b/tests/phpunit/CRM/Contact/Form/Search/Custom/SampleTest.php index 165f91efb7..5288ef8d3b 100644 --- a/tests/phpunit/CRM/Contact/Form/Search/Custom/SampleTest.php +++ b/tests/phpunit/CRM/Contact/Form/Search/Custom/SampleTest.php @@ -122,7 +122,7 @@ class CRM_Contact_Form_Search_Custom_SampleTest extends CiviUnitTestCase { ) ); $obj = new CRM_Contact_Form_Search_Custom_Sample($fv); - $sql = $obj->all(); + $sql = $obj->all(0, 0, 'contact_id'); $this->assertTrue(is_string($sql)); $dao = CRM_Core_DAO::executeQuery($sql); $all = array(); -- 2.25.1