From d9601ec63cd2343672bd6afc2113571907242a11 Mon Sep 17 00:00:00 2001 From: Olexandr Lysenko Date: Thu, 18 Dec 2014 16:57:53 +0200 Subject: [PATCH 1/8] MAGETWO-30913: Error when trying to apply coupon code in backend reorder after unchecking the discount apply checkbox --- .../Controller/Adminhtml/Order/Create.php | 23 ++++++++++++++++--- .../SalesRule/Model/Quote/Discount.php | 2 ++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php index 066511dee95c4..3e9af224b3a3d 100644 --- a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php +++ b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php @@ -270,16 +270,33 @@ protected function _processActionData($action = null) if (isset($data) && isset($data['coupon']['code'])) { $couponCode = trim($data['coupon']['code']); } + if (!empty($couponCode)) { - if ($this->_getQuote()->getCouponCode() !== $couponCode) { + $isApplyDiscount = false; + foreach ($this->_getQuote()->getAllItems() as $item) { + if ($item->getIsApplyDiscount() === true) { + $isApplyDiscount = true; + break; + } + } + if (!$isApplyDiscount) { $this->messageManager->addError( __( - '"%1" coupon code is not valid.', + '"%1" coupon code for item(s) selected do not apply discount', $this->_objectManager->get('Magento\Framework\Escaper')->escapeHtml($couponCode) ) ); } else { - $this->messageManager->addSuccess(__('The coupon code has been accepted.')); + if ($this->_getQuote()->getCouponCode() !== $couponCode) { + $this->messageManager->addError( + __( + '"%1" coupon code is not valid.', + $this->_objectManager->get('Magento\Framework\Escaper')->escapeHtml($couponCode) + ) + ); + } else { + $this->messageManager->addSuccess(__('The coupon code has been accepted.')); + } } } diff --git a/app/code/Magento/SalesRule/Model/Quote/Discount.php b/app/code/Magento/SalesRule/Model/Quote/Discount.php index ac2b485eb9e8f..372a0db0c1229 100644 --- a/app/code/Magento/SalesRule/Model/Quote/Discount.php +++ b/app/code/Magento/SalesRule/Model/Quote/Discount.php @@ -87,6 +87,7 @@ public function collect(Address $address) foreach ($items as $item) { if ($item->getNoDiscount() || !$this->_calculator->canApplyDiscount($item)) { $item->setDiscountAmount(0); + $item->setIsApplyDiscount(false); $item->setBaseDiscountAmount(0); // ensure my children are zeroed out @@ -119,6 +120,7 @@ public function collect(Address $address) $this->_calculator->process($item); $this->_aggregateItemDiscount($item); } + $item->setIsApplyDiscount(true); } /** From 2ad8cafceb394a0b15a452f5f2ebfd686bb29508 Mon Sep 17 00:00:00 2001 From: Olexandr Lysenko Date: Thu, 25 Dec 2014 17:02:17 +0200 Subject: [PATCH 2/8] MAGETWO-30913: Error when trying to apply coupon code in backend reorder after unchecking the discount apply checkbox --- .../Controller/Adminhtml/Order/Create.php | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php index 3e9af224b3a3d..303875dad2814 100644 --- a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php +++ b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php @@ -13,14 +13,25 @@ */ class Create extends \Magento\Backend\App\Action { + /** + * @var \Magento\Framework\Escaper + */ + protected $escaper; + /** * @param Action\Context $context * @param \Magento\Catalog\Helper\Product $productHelper + * @param \Magento\Framework\Escaper $escaper */ - public function __construct(Action\Context $context, \Magento\Catalog\Helper\Product $productHelper) + public function __construct( + Action\Context $context, + \Magento\Catalog\Helper\Product $productHelper, + \Magento\Framework\Escaper $escaper + ) { parent::__construct($context); $productHelper->setSkipSaleableCheck(true); + $this->escaper = $escaper; } /** @@ -280,10 +291,11 @@ protected function _processActionData($action = null) } } if (!$isApplyDiscount) { + $rr = $this->escaper->escapeHtml($couponCode); $this->messageManager->addError( __( - '"%1" coupon code for item(s) selected do not apply discount', - $this->_objectManager->get('Magento\Framework\Escaper')->escapeHtml($couponCode) + '"%1" coupon code was not applied. Do not apply discount is selected for item(s)', + $rr ) ); } else { @@ -291,7 +303,7 @@ protected function _processActionData($action = null) $this->messageManager->addError( __( '"%1" coupon code is not valid.', - $this->_objectManager->get('Magento\Framework\Escaper')->escapeHtml($couponCode) + $this->escaper->escapeHtml($couponCode) ) ); } else { From e5e1d3ecded20399469b61bc5e81f6c8c3aaa0d6 Mon Sep 17 00:00:00 2001 From: Olexandr Lysenko Date: Thu, 25 Dec 2014 17:04:19 +0200 Subject: [PATCH 3/8] MAGETWO-30913: Error when trying to apply coupon code in backend reorder after unchecking the discount apply checkbox --- .../Order/Create/ProcessDataTest.php | 234 ++++++++++++++++++ 1 file changed, 234 insertions(+) create mode 100644 dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php diff --git a/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php b/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php new file mode 100644 index 0000000000000..7e37cc514a834 --- /dev/null +++ b/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php @@ -0,0 +1,234 @@ +getMock('Magento\Backend\App\Action\Context', [], [], '', false); + + $this->request = $this->getMockForAbstractClass( + 'Magento\Framework\App\RequestInterface', + [], + '', + false, + true, + true, + [ + 'getParam', + 'getPost', + 'get', + 'has', + 'setModuleName', + 'setActionName', + 'initForward', + 'setDispatched', + 'getModuleName', + 'getActionName', + 'getCookie' + ] + ); + $response = $this->getMockForAbstractClass( + 'Magento\Framework\App\ResponseInterface', + [], + '', + false, + true, + true, + [] + ); + $context->expects($this->any())->method('getResponse')->willReturn($response); + $context->expects($this->any())->method('getRequest')->willReturn($this->request); + + $this->actionFlag = $this->getMock('Magento\Framework\App\ActionFlag', [], [], '', false); + $context->expects($this->any())->method('getActionFlag')->willReturn($this->actionFlag); + + $this->messageManager = $this->getMock('Magento\Framework\Message\ManagerInterface', [], [], '', false); + $context->expects($this->any())->method('getMessageManager')->willReturn($this->messageManager); + + $this->eventManager = $this->getMock('Magento\Framework\Event\ManagerInterface', [], [], '', false); + $context->expects($this->any())->method('getEventManager')->willReturn($this->eventManager); + + $this->objectManager = $this->getMock('Magento\Framework\ObjectManagerInterface'); + $context->expects($this->any())->method('getObjectManager')->willReturn($this->objectManager); + + $this->session = $this->getMock( + 'Magento\Backend\Model\Session\Quote', + ['setIsUrlNotice', 'getQuote'], + [], + '', + false + ); + $context->expects($this->any())->method('getSession')->willReturn($this->session); + $this->escaper = $this->getMock('Magento\Framework\Escaper', ['escapeHtml'], [], '', false); + + $this->processData = $objectManagerHelper->getObject( + 'Magento\Sales\Controller\Adminhtml\Order\Create\ProcessData', + [ + 'context' => $context, + 'escaper' => $this->escaper + ] + ); + } + + /** + * @param bool $isApplyDiscount + * @param string $couponCode + * @param string $errorMessage + * @param string $actualCouponCode + * @dataProvider isApplyDiscountDataProvider + */ + public function testExecute($isApplyDiscount, $couponCode, $errorMessage, $actualCouponCode) + { + $quote = $this->getMock( + 'Magento\Sales\Model\Quote', + ['getCouponCode', 'isVirtual', 'getAllItems'], + [], + '', + false + ); + $create = $this->getMock('Magento\Sales\Model\AdminOrder\Create', [], [], '', false); + + $paramReturnMap = [ + ['customer_id', null, null], + ['store_id', null, null], + ['currency_id', null, null] + ]; + $this->request->expects($this->atLeastOnce())->method('getParam')->willReturnMap($paramReturnMap); + + $objectManagerParamMap = [ + ['Magento\Sales\Model\AdminOrder\Create', $create], + ['Magento\Backend\Model\Session\Quote', $this->session] + ]; + $this->objectManager->expects($this->atLeastOnce())->method('get')->willReturnMap($objectManagerParamMap); + + $this->eventManager->expects($this->any())->method('dispatch'); + + $data = ['coupon' => ['code' => $couponCode]]; + $postReturnMap = [ + ['order', $data], + ['reset_shipping', false], + ['collect_shipping_rates', false], + ['sidebar', false], + ['add_product', false], + ['', false], + ['update_items', false], + ['remove_item', 1], + ['from', 2], + ['move_item', 1], + ['to', 2], + ['qty', 3], + ['payment', false], + [null, 'request'], + ['payment', false], + ['giftmessage', false], + ['add_products', false], + ['update_items', false], + + ]; + $this->request->expects($this->atLeastOnce())->method('getPost')->willReturnMap($postReturnMap); + + $create->expects($this->once())->method('importPostData')->willReturnSelf(); + $create->expects($this->once())->method('initRuleData')->willReturnSelf(); + $create->expects($this->any())->method('getQuote')->willReturn($quote); + + $address = $this->getMock('Magento\Sales\Model\Quote\Address', [], [], '', false); + $create->expects($this->once())->method('getBillingAddress')->willReturn($address); + + $quote->expects($this->any())->method('isVirtual')->willReturn(true); + + $this->request->expects($this->once())->method('has')->with('item')->willReturn(false); + + $create->expects($this->once())->method('saveQuote')->willReturnSelf(); + + $this->session->expects($this->any())->method('getQuote')->willReturn($quote); + $item = $this->getMockForAbstractClass( + 'Magento\Eav\Model\Entity\Collection\AbstractCollection', + [], + '', + false, + true, + true, + ['getIsApplyDiscount'] + ); + $quote->expects($this->any())->method('getAllItems')->willReturn([$item]); + $item->expects($this->any())->method('getIsApplyDiscount')->willReturn($isApplyDiscount); + if ($isApplyDiscount) { + $quote->expects($this->once())->method('getCouponCode')->willReturn($actualCouponCode); + } + + $errorMessageManager = __( + $errorMessage, + $couponCode + ); + $this->escaper->expects($this->once())->method('escapeHtml')->with($couponCode)->willReturn($couponCode); + + $this->messageManager->expects($this->once())->method('addError')->with($errorMessageManager)->willReturnSelf(); + + $this->actionFlag->expects($this->once())->method('get')->willReturn(false); + $this->session->expects($this->once())->method('setIsUrlNotice')->with(false)->willReturn(false); + $this->request->expects($this->once())->method('initForward')->willReturnSelf(); + $this->request->expects($this->once())->method('setActionName')->willReturnSelf(); + $this->request->expects($this->once())->method('setDispatched')->willReturnSelf(); + $this->assertNull($this->processData->execute()); + } + + public function isApplyDiscountDataProvider() + { + return [ + [false, '123', '"%1" coupon code was not applied. Do not apply discount is selected for item(s)', null], + [true, '123', '"%1" coupon code is not valid.', '132'], + ]; + } +} From 4c41ad2bd6a096cf729daf3101b221e7158cf893 Mon Sep 17 00:00:00 2001 From: Olexandr Lysenko Date: Thu, 25 Dec 2014 18:24:33 +0200 Subject: [PATCH 4/8] MAGETWO-30913: Error when trying to apply coupon code in backend reorder after unchecking the discount apply checkbox --- .../Magento/SalesRule/Model/Quote/DiscountTest.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dev/tests/unit/testsuite/Magento/SalesRule/Model/Quote/DiscountTest.php b/dev/tests/unit/testsuite/Magento/SalesRule/Model/Quote/DiscountTest.php index ba970d98d1865..8f87f66194bb6 100644 --- a/dev/tests/unit/testsuite/Magento/SalesRule/Model/Quote/DiscountTest.php +++ b/dev/tests/unit/testsuite/Magento/SalesRule/Model/Quote/DiscountTest.php @@ -89,11 +89,14 @@ public function testCollectItemNoDiscount() { $itemNoDiscount = $this->getMockBuilder('Magento\Sales\Model\Quote\Item') ->disableOriginalConstructor() - ->setMethods(['getNoDiscount', '__wakeup']) + ->setMethods(['getNoDiscount', 'setIsApplyDiscount', '__wakeup']) ->getMock(); $itemNoDiscount->expects($this->once()) ->method('getNoDiscount') ->willReturn(true); + $itemNoDiscount->expects($this->once()) + ->method('setIsApplyDiscount') + ->willReturn(false); $this->validatorMock->expects($this->any()) ->method('sortItemsByPriority') @@ -201,6 +204,7 @@ public function testCollectItemHasChildren($childItemData, $parentData, $expecte 'getHasChildren', 'isChildrenCalculated', 'getChildren', + 'setIsApplyDiscount', '__wakeup', ] ) @@ -214,6 +218,9 @@ public function testCollectItemHasChildren($childItemData, $parentData, $expecte $itemWithChildren->expects($this->once()) ->method('getHasChildren') ->willReturn(true); + $itemWithChildren->expects($this->once()) + ->method('setIsApplyDiscount') + ->willReturn(true); $itemWithChildren->expects($this->once()) ->method('isChildrenCalculated') ->willReturn(true); @@ -332,6 +339,7 @@ public function testCollectItemHasNoChildren() 'getHasChildren', 'isChildrenCalculated', 'getChildren', + 'setIsApplyDiscount', '__wakeup', ] ) @@ -339,6 +347,9 @@ public function testCollectItemHasNoChildren() $itemWithChildren->expects($this->once()) ->method('getNoDiscount') ->willReturn(false); + $itemWithChildren->expects($this->once()) + ->method('setIsApplyDiscount') + ->willReturn(true); $itemWithChildren->expects($this->once()) ->method('getParentItem') ->willReturn(false); From 5dde9eaa88bd3094e8552c5b4643f9e472845490 Mon Sep 17 00:00:00 2001 From: Olexandr Lysenko Date: Mon, 29 Dec 2014 18:02:06 +0200 Subject: [PATCH 5/8] MAGETWO-30913: Error when trying to apply coupon code in backend reorder after unchecking the discount apply checkbox --- app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php index 303875dad2814..e6eb7b83c9cda 100644 --- a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php +++ b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php @@ -291,11 +291,10 @@ protected function _processActionData($action = null) } } if (!$isApplyDiscount) { - $rr = $this->escaper->escapeHtml($couponCode); $this->messageManager->addError( __( '"%1" coupon code was not applied. Do not apply discount is selected for item(s)', - $rr + $this->escaper->escapeHtml($couponCode) ) ); } else { From fcc7d9b67ce3c58627c7fd15faf8e3b857647f97 Mon Sep 17 00:00:00 2001 From: Olexandr Lysenko Date: Tue, 30 Dec 2014 16:51:00 +0200 Subject: [PATCH 6/8] MAGETWO-30913: Error when trying to apply coupon code in backend reorder after unchecking the discount apply checkbox --- .../Sales/Controller/Adminhtml/Order/Create.php | 2 +- .../Magento/SalesRule/Model/Quote/Discount.php | 2 -- .../Adminhtml/Order/Create/ProcessDataTest.php | 14 +++++++------- .../Magento/SalesRule/Model/Quote/DiscountTest.php | 13 +------------ 4 files changed, 9 insertions(+), 22 deletions(-) diff --git a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php index e6eb7b83c9cda..d8735f5dc8375 100644 --- a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php +++ b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php @@ -285,7 +285,7 @@ protected function _processActionData($action = null) if (!empty($couponCode)) { $isApplyDiscount = false; foreach ($this->_getQuote()->getAllItems() as $item) { - if ($item->getIsApplyDiscount() === true) { + if (!$item->getNoDiscount()) { $isApplyDiscount = true; break; } diff --git a/app/code/Magento/SalesRule/Model/Quote/Discount.php b/app/code/Magento/SalesRule/Model/Quote/Discount.php index 372a0db0c1229..ac2b485eb9e8f 100644 --- a/app/code/Magento/SalesRule/Model/Quote/Discount.php +++ b/app/code/Magento/SalesRule/Model/Quote/Discount.php @@ -87,7 +87,6 @@ public function collect(Address $address) foreach ($items as $item) { if ($item->getNoDiscount() || !$this->_calculator->canApplyDiscount($item)) { $item->setDiscountAmount(0); - $item->setIsApplyDiscount(false); $item->setBaseDiscountAmount(0); // ensure my children are zeroed out @@ -120,7 +119,6 @@ public function collect(Address $address) $this->_calculator->process($item); $this->_aggregateItemDiscount($item); } - $item->setIsApplyDiscount(true); } /** diff --git a/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php b/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php index 7e37cc514a834..bb8b241abe6c6 100644 --- a/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php +++ b/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php @@ -123,13 +123,13 @@ protected function setUp() } /** - * @param bool $isApplyDiscount + * @param bool $noDiscount * @param string $couponCode * @param string $errorMessage * @param string $actualCouponCode * @dataProvider isApplyDiscountDataProvider */ - public function testExecute($isApplyDiscount, $couponCode, $errorMessage, $actualCouponCode) + public function testExecute($noDiscount, $couponCode, $errorMessage, $actualCouponCode) { $quote = $this->getMock( 'Magento\Sales\Model\Quote', @@ -200,11 +200,11 @@ public function testExecute($isApplyDiscount, $couponCode, $errorMessage, $actua false, true, true, - ['getIsApplyDiscount'] + ['getNoDiscount'] ); $quote->expects($this->any())->method('getAllItems')->willReturn([$item]); - $item->expects($this->any())->method('getIsApplyDiscount')->willReturn($isApplyDiscount); - if ($isApplyDiscount) { + $item->expects($this->any())->method('getNoDiscount')->willReturn($noDiscount); + if (!$noDiscount) { $quote->expects($this->once())->method('getCouponCode')->willReturn($actualCouponCode); } @@ -227,8 +227,8 @@ public function testExecute($isApplyDiscount, $couponCode, $errorMessage, $actua public function isApplyDiscountDataProvider() { return [ - [false, '123', '"%1" coupon code was not applied. Do not apply discount is selected for item(s)', null], - [true, '123', '"%1" coupon code is not valid.', '132'], + [true, '123', '"%1" coupon code was not applied. Do not apply discount is selected for item(s)', null], + [false, '123', '"%1" coupon code is not valid.', '132'], ]; } } diff --git a/dev/tests/unit/testsuite/Magento/SalesRule/Model/Quote/DiscountTest.php b/dev/tests/unit/testsuite/Magento/SalesRule/Model/Quote/DiscountTest.php index 8f87f66194bb6..ba970d98d1865 100644 --- a/dev/tests/unit/testsuite/Magento/SalesRule/Model/Quote/DiscountTest.php +++ b/dev/tests/unit/testsuite/Magento/SalesRule/Model/Quote/DiscountTest.php @@ -89,14 +89,11 @@ public function testCollectItemNoDiscount() { $itemNoDiscount = $this->getMockBuilder('Magento\Sales\Model\Quote\Item') ->disableOriginalConstructor() - ->setMethods(['getNoDiscount', 'setIsApplyDiscount', '__wakeup']) + ->setMethods(['getNoDiscount', '__wakeup']) ->getMock(); $itemNoDiscount->expects($this->once()) ->method('getNoDiscount') ->willReturn(true); - $itemNoDiscount->expects($this->once()) - ->method('setIsApplyDiscount') - ->willReturn(false); $this->validatorMock->expects($this->any()) ->method('sortItemsByPriority') @@ -204,7 +201,6 @@ public function testCollectItemHasChildren($childItemData, $parentData, $expecte 'getHasChildren', 'isChildrenCalculated', 'getChildren', - 'setIsApplyDiscount', '__wakeup', ] ) @@ -218,9 +214,6 @@ public function testCollectItemHasChildren($childItemData, $parentData, $expecte $itemWithChildren->expects($this->once()) ->method('getHasChildren') ->willReturn(true); - $itemWithChildren->expects($this->once()) - ->method('setIsApplyDiscount') - ->willReturn(true); $itemWithChildren->expects($this->once()) ->method('isChildrenCalculated') ->willReturn(true); @@ -339,7 +332,6 @@ public function testCollectItemHasNoChildren() 'getHasChildren', 'isChildrenCalculated', 'getChildren', - 'setIsApplyDiscount', '__wakeup', ] ) @@ -347,9 +339,6 @@ public function testCollectItemHasNoChildren() $itemWithChildren->expects($this->once()) ->method('getNoDiscount') ->willReturn(false); - $itemWithChildren->expects($this->once()) - ->method('setIsApplyDiscount') - ->willReturn(true); $itemWithChildren->expects($this->once()) ->method('getParentItem') ->willReturn(false); From 09a9fa1ed7230dcf063c7bc962c247de8ba05417 Mon Sep 17 00:00:00 2001 From: Olexandr Lysenko Date: Mon, 12 Jan 2015 13:31:05 +0200 Subject: [PATCH 7/8] MAGETWO-30913: Error when trying to apply coupon code in backend reorder after unchecking the discount apply checkbox --- app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php index d8735f5dc8375..e4e1c9583c3c5 100644 --- a/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php +++ b/app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php @@ -27,8 +27,7 @@ public function __construct( Action\Context $context, \Magento\Catalog\Helper\Product $productHelper, \Magento\Framework\Escaper $escaper - ) - { + ) { parent::__construct($context); $productHelper->setSkipSaleableCheck(true); $this->escaper = $escaper; From ba825e8f28eeb6e1a020a56f431a77faa2ea8f9f Mon Sep 17 00:00:00 2001 From: Olexandr Lysenko Date: Mon, 12 Jan 2015 18:32:54 +0200 Subject: [PATCH 8/8] MAGETWO-30913: Error when trying to apply coupon code in backend reorder after unchecking the discount apply checkbox --- .../Controller/Adminhtml/Order/Create/ProcessDataTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php b/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php index bb8b241abe6c6..da63836d01087 100644 --- a/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php +++ b/dev/tests/unit/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create/ProcessDataTest.php @@ -1,6 +1,7 @@