From a8bbbf2bb51e81b88677eb13330bd2262c776974 Mon Sep 17 00:00:00 2001 From: Mike Weis <miweis@ebay.com> Date: Wed, 8 Apr 2015 14:14:13 -0500 Subject: [PATCH] MAGETWO-31458: FPT is displayed in invoice totals for partial invoice when product with no FPT is invoiced - fixed static build failures --- .../Sales/Test/Unit/Model/Order/Creditmemo/ItemTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Sales/Test/Unit/Model/Order/Creditmemo/ItemTest.php b/app/code/Magento/Sales/Test/Unit/Model/Order/Creditmemo/ItemTest.php index b576f8d28b9..0673aa120a2 100644 --- a/app/code/Magento/Sales/Test/Unit/Model/Order/Creditmemo/ItemTest.php +++ b/app/code/Magento/Sales/Test/Unit/Model/Order/Creditmemo/ItemTest.php @@ -275,8 +275,8 @@ class ItemTest extends \PHPUnit_Framework_TestCase $creditmemoMock->expects($this->exactly(4)) ->method('roundPrice') ->will($this->returnCallback( - function($arg) { - return round($arg,2); + function ($arg) { + return round($arg, 2); } )); -- GitLab