Skip to content

Commit ead4747

Browse files
author
Roman Liukshyn
committed
MTA-560: Re-factor Tests for Online Onepage Checkout
- fixed code style
1 parent a9a6615 commit ead4747

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dev/tests/functional/tests/app/Magento/Core/Test/Handler/ConfigData/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function modify($input)
8080
if ($position === 0) {
8181
$resultArray.= $subPath;
8282
continue;
83-
}elseif ($position === (count($path) - 1)) {
83+
} elseif ($position === (count($path) - 1)) {
8484
$resultArray.= '[fields]';
8585
} else {
8686
$resultArray.= '[groups]';

dev/tests/functional/tests/app/Magento/Sales/Test/Constraint/AssertOrderCommentsHistory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public function processAssert(
3737
$expectedAuthorizedAmount = 'Authorized amount of $' . $grandTotal;
3838

3939
\PHPUnit_Framework_Assert::assertContains(
40-
$expectedAuthorizedAmount, $actualAuthorizedAmount,
40+
$expectedAuthorizedAmount,
41+
$actualAuthorizedAmount,
4142
'Incorrect authorized amount value for the order #' . $orderId
4243
);
4344
}

0 commit comments

Comments
 (0)