From 5d4ac31111a3ee2b0f39476f34684472e5c44eac Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 10 May 2018 07:33:58 +1000 Subject: [PATCH] (NFC) Fix use of undefined constant USD in MoneyTest --- tests/phpunit/CRM/Utils/MoneyTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/phpunit/CRM/Utils/MoneyTest.php b/tests/phpunit/CRM/Utils/MoneyTest.php index 9da7f7f591..c3b0b063f3 100644 --- a/tests/phpunit/CRM/Utils/MoneyTest.php +++ b/tests/phpunit/CRM/Utils/MoneyTest.php @@ -24,12 +24,12 @@ class CRM_Utils_MoneyTest extends CiviUnitTestCase { */ public function subtractCurrenciesDataProvider() { return array( - array(number_format(300.00, 2), number_format(299.99, 2), USD, number_format(0.01, 2)), - array(2, 1, USD, 1), - array(0, 0, USD, 0), - array(1, 2, USD, -1), - array(number_format(19.99, 2), number_format(20.00, 2), USD, number_format(-0.01, 2)), - array('notanumber', 5.00, USD, NULL), + array(number_format(300.00, 2), number_format(299.99, 2), 'USD', number_format(0.01, 2)), + array(2, 1, 'USD', 1), + array(0, 0, 'USD', 0), + array(1, 2, 'USD', -1), + array(number_format(19.99, 2), number_format(20.00, 2), 'USD', number_format(-0.01, 2)), + array('notanumber', 5.00, 'USD', NULL), ); } -- 2.25.1