fix enotice
authorEileen McNaughton <eileen@mcnaughty.com>
Tue, 17 May 2016 13:42:55 +0000 (01:42 +1200)
committerEileen McNaughton <eileen@mcnaughty.com>
Tue, 17 May 2016 13:42:55 +0000 (01:42 +1200)
tests/phpunit/CRM/Contribute/Form/ContributionTest.php

index 2f89b30ea013158d0c6b1ef7a631157874774b1a..b022e6aeee4f0f7fb7614f7dff93976ffa694a6b 100644 (file)
@@ -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']));
   }
 
   /**