From 755ca72c736bfd0ba3d828969ba5a4b7906d3a17 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Mon, 14 Sep 2015 02:56:18 +1200 Subject: [PATCH] fix date format in test --- tests/phpunit/CRM/Contribute/BAO/ContributionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1