From b2e5605193a3acab789a8ea34b2e56e3a5aed47d Mon Sep 17 00:00:00 2001 From: yashodha Date: Thu, 30 May 2013 12:35:15 +0530 Subject: [PATCH] test fix (CRM-12697) --- tests/phpunit/CRM/Activity/BAO/ActivityTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Activity/BAO/ActivityTest.php b/tests/phpunit/CRM/Activity/BAO/ActivityTest.php index a71106feaf..b52b2b105b 100644 --- a/tests/phpunit/CRM/Activity/BAO/ActivityTest.php +++ b/tests/phpunit/CRM/Activity/BAO/ActivityTest.php @@ -132,7 +132,7 @@ class CRM_Activity_BAO_ActivityTest extends CiviUnitTestCase { $this->assertEquals($activity->subject, 'Scheduling Meeting', 'Verify activity subject is correct.'); $this->assertEquals($activity->activity_type_id, 2, 'Verify activity type id is correct.'); - $this->assertEquals($activity->source_contact_id, $contactId, 'Verify source contact id is correct.'); + $this->assertEquals($defaults['source_contact_id'], $contactId, 'Verify source contact id is correct.'); $this->assertEquals($defaults['subject'], 'Scheduling Meeting', 'Verify activity subject is correct.'); $this->assertEquals($defaults['activity_type_id'], 2, 'Verify activity type id is correct.'); -- 2.25.1