X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fapi%2Fv3%2FMailingABTest.php;h=823b0d5dbfedb6eeb6854102dacaf5f08797832f;hb=b94eea5170f9b25e817067941198129b5de3224c;hp=6d2eabd837ecc9f7b8c2b6fc7704b8e832ffbe13;hpb=9bf8f373d9c1a1870b216ce3530f4208b0e5884f;p=civicrm-core.git diff --git a/tests/phpunit/api/v3/MailingABTest.php b/tests/phpunit/api/v3/MailingABTest.php old mode 100755 new mode 100644 index 6d2eabd837..823b0d5dbf --- a/tests/phpunit/api/v3/MailingABTest.php +++ b/tests/phpunit/api/v3/MailingABTest.php @@ -27,6 +27,7 @@ * Test APIv3 civicrm_mailingab_* functions * * @package CiviCRM + * @group headless */ class api_v3_MailingABTest extends CiviUnitTestCase { protected $_mailingID_A; @@ -120,8 +121,7 @@ class api_v3_MailingABTest extends CiviUnitTestCase { * @dataProvider groupPctProvider */ public function testDistribution($totalGroupContacts, $groupPct, $expectedCountA, $expectedCountB, $expectedCountC) { - - $result = $this->groupContactCreate($this->_groupID, $totalGroupContacts); + $result = $this->groupContactCreate($this->_groupID, $totalGroupContacts, TRUE); $this->assertEquals($totalGroupContacts, $result['added'], "in line " . __LINE__); $params = $this->_params;