From: eileenmcnaugton Date: Sun, 13 Sep 2015 14:56:18 +0000 (+1200) Subject: fix date format in test X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=755ca72c736bfd0ba3d828969ba5a4b7906d3a17;p=civicrm-core.git fix date format in test --- diff --git a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php index 3cdca59b9b..26e4585632 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php @@ -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);