fix date format in test
authoreileenmcnaugton <eileen@fuzion.co.nz>
Sun, 13 Sep 2015 14:56:18 +0000 (02:56 +1200)
committereileenmcnaugton <eileen@fuzion.co.nz>
Sun, 13 Sep 2015 14:56:18 +0000 (02:56 +1200)
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php

index 3cdca59b9b3fd8a2394d0703fee6ecf4398057ec..26e45856321cb86759e7f0e58b39afa5b82f7565 100644 (file)
@@ -260,7 +260,7 @@ class CRM_Contribute_BAO_ContributionTest extends CiviUnitTestCase {
         'type_id' => '4',
         'amount' => '$ 66.00',
         'source' => NULL,
-        'receive_date' => date('Y-m-d H:i:s'),
+        'receive_date' => date('Y-m-d 00:00:00'),
         'contribution_status' => 'Completed',
       ),
     ), $getHonorContact);