Skip to content

Commit 40e324c

Browse files
committed
MAGETWO-92884: Shipping page contains the equal shipping addresses after adding a user.
1 parent eb42dea commit 40e324c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dev/tests/integration/testsuite/Magento/Sales/Api/OrderCustomerDelegateInterfaceTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,15 @@ public function testDelegateNew(): void
182182
* @magentoDbIsolation enabled
183183
* @magentoAppIsolation enabled
184184
* @magentoDataFixture Magento/Sales/_files/order_different_addresses.php
185+
* @return void
185186
*/
186-
public function testDelegateNewDifferentAddresses()
187+
public function testDelegateNewDifferentAddresses(): void
187188
{
188189
$orderAutoincrementId = '100000001';
189190
/** @var Order $orderModel */
190191
$orderModel = $this->orderFactory->create();
191192
$orderModel->loadByIncrementId($orderAutoincrementId);
192-
$orderId = $orderModel->getId();
193+
$orderId = (int)$orderModel->getId();
193194
unset($orderModel);
194195

195196
$this->delegate->delegateNew($orderId);

dev/tests/integration/testsuite/Magento/Sales/_files/order_different_addresses.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
// @codingStandardsIgnoreFile
89

0 commit comments

Comments
 (0)