Skip to content

Commit a3adb31

Browse files
author
Bohdan Shevchenko
committed
MC-6425: [API] Order with state STATE_HOLDED should not be canceled
1 parent c1e9db2 commit a3adb31

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/api-functional/testsuite/Magento/Sales/Service/V1/OrderCancelTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
use Magento\TestFramework\TestCase\WebapiAbstract;
1010

1111
/**
12-
* Class OrderCancelTest
13-
* @package Magento\Sales\Service\V1
12+
* Canceling of the order, in different states
1413
*/
1514
class OrderCancelTest extends WebapiAbstract
1615
{

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

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

78
use Magento\Sales\Model\Order;
89

9-
require 'order.php';
10+
require __DIR__ . '/order.php';
1011

1112
/** @var Order $order */
1213
$order->setState(Order::STATE_HOLDED);

0 commit comments

Comments
 (0)