From: Dave Greenberg Date: Sat, 25 Jan 2014 01:07:35 +0000 (-0800) Subject: CRM-10043 - Fix activity assignee unit test. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e6638d31ca03ee1bf965586ca819f03a8bc98c10;p=civicrm-core.git CRM-10043 - Fix activity assignee unit test. --- diff --git a/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php b/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php index 4901c2dc0b..5646cf0879 100644 --- a/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php +++ b/tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php @@ -118,7 +118,7 @@ class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase { */ function testGetAssigneeNamesOneId() { $activity = $this->activityCreate(); - $assignees = CRM_Activity_BAO_ActivityAssignment::getAssigneeNames($activity['id']); + $assignees = CRM_Activity_BAO_ActivityAssignment::getAssigneeNames(array($activity['id'])); $this->assertEquals(count($assignees), 1, '1 assignee names retrieved'); } }