From: Eileen McNaughton Date: Tue, 17 May 2016 13:42:55 +0000 (+1200) Subject: fix enotice X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=48e27df7cd440a9d7ceab6ef243fea09b651a307;p=civicrm-core.git fix enotice --- diff --git a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php index 2f89b30ea0..b022e6aeee 100644 --- a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php @@ -234,7 +234,7 @@ class CRM_Contribute_Form_ContributionTest extends CiviUnitTestCase { 'contribution_status_id' => 'Pending', ), 1); $contact = $this->callAPISuccessGetSingle('Contact', array('id' => $this->_individualId)); - $this->assertEmpty($contact['source']); + $this->assertTrue(empty($contact['source'])); } /**