test fix - fix dumb error when in test check
authoreileenmcnaugton <eileen@fuzion.co.nz>
Sat, 5 Sep 2015 04:57:36 +0000 (16:57 +1200)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 9 Sep 2015 14:50:31 +0000 (20:20 +0530)
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php

index 1eb0b07552e7cbefd2f10fd4718e5e5cf1e818e6..494bdad250a9444c4270f1d6079aacc8597385e5 100644 (file)
@@ -260,7 +260,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
         'type_id' => '4',
         'amount' => '$ 66.00',
         'source' => NULL,
-        'receive_date' => '2015-09-02 00:00:00',
+        'receive_date' => date('Y-m-d H:i:s'),
         'contribution_status' => 'Completed',
       ),
     ), $getHonorContact);