Skip to content

Commit 2522430

Browse files
committed
MC-17200: Delegated account creation fails with custom attributes present in customer address
1 parent 2e81e2d commit 2522430

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

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

108
use Magento\Customer\Api\AccountManagementInterface;
@@ -135,7 +133,7 @@ public function testDelegateNew()
135133
/** @var Order $orderModel */
136134
$orderModel = $this->orderFactory->create();
137135
$orderModel->loadByIncrementId($orderAutoincrementId);
138-
$orderId = $orderModel->getId();
136+
$orderId = (int)$orderModel->getId();
139137
unset($orderModel);
140138

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

0 commit comments

Comments
 (0)