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

fixed failing mailing CRM tests

parent f11f9737
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