From e6638d31ca03ee1bf965586ca819f03a8bc98c10 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Fri, 24 Jan 2014 17:07:35 -0800 Subject: [PATCH] CRM-10043 - Fix activity assignee unit test. --- tests/phpunit/CRM/Activity/BAO/ActivityAssignmentTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } } -- 2.25.1