Skip to content

Commit 4ecd1e8

Browse files
committed
AC-10042::/V1/transactions REST API returns error when parent_txn_id test failures fix
1 parent 801f3a9 commit 4ecd1e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ class TransactionTest extends WebapiAbstract
1919
/**
2020
* Service read name
2121
*/
22-
const SERVICE_READ_NAME = 'salesTransactionRepositoryV1';
22+
public const SERVICE_READ_NAME = 'salesTransactionRepositoryV1';
2323

2424
/**
2525
* Resource path for REST
2626
*/
27-
const RESOURCE_PATH = '/V1/transactions';
27+
public const RESOURCE_PATH = '/V1/transactions';
2828

2929
/**
3030
* Service version
3131
*/
32-
const SERVICE_VERSION = 'V1';
32+
public const SERVICE_VERSION = 'V1';
3333

3434
/**
3535
* @var \Magento\Framework\ObjectManagerInterface
@@ -66,7 +66,7 @@ public function testTransactionGet()
6666
$childTransaction = reset($childTransactions);
6767

6868
$expectedData = $this->getPreparedTransactionData($transaction);
69-
if(gettype($childTransaction) != 'boolean') {
69+
if (gettype($childTransaction) != 'boolean') {
7070
$childTransactionData = $this->getPreparedTransactionData($childTransaction);
7171
$expectedData['child_transactions'][] = $childTransactionData;
7272
}

0 commit comments

Comments
 (0)