Skip to content
Snippets Groups Projects
Commit c9dcfd6d authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #1361 from kurund/test-fixes

fixed failing mailing CRM tests
parents a1562d20 77c09991
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,10 @@ class CRM_Mailing_BAO_QueryTest extends CiviUnitTestCase {
$params = CRM_Contact_BAO_Query::convertFormValues($fv);
$obj = new CRM_Contact_BAO_Query($params);
// let's set useGroupBy=true, to prevent duplicate records
$obj->_useGroupBy = TRUE;
$dao = $obj->searchQuery();
$contacts = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment