CRM-10043 - Fix activity assignee unit test.
authorDave Greenberg <dave@civicrm.org>
Sat, 25 Jan 2014 01:07:35 +0000 (17:07 -0800)
committerDave Greenberg <dave@civicrm.org>
Sat, 25 Jan 2014 01:07:35 +0000 (17:07 -0800)
tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php

index 4901c2dc0b68b1b43f5571fafef44c3f54acc771..5646cf087970b3af4fb3e0d7037f71d915d12db6 100644 (file)
@@ -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');
   }
 }