Skip to content

Commit c8ff114

Browse files
author
Elena Marchenko
committed
MTA-559: Updated Place Order step
1 parent 8ee703b commit c8ff114

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/functional/tests/app/Magento/Checkout/Test/TestStep/PlaceOrderStep.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public function __construct(
8080
*/
8181
public function run()
8282
{
83-
if (!empty($this->prices)) {
84-
$this->assertGrandTotalOrderReview->processAssert($this->checkoutOnepage, $this->prices);
83+
if (isset($this->prices['grandTotal'])) {
84+
$this->assertGrandTotalOrderReview->processAssert($this->checkoutOnepage, $this->prices['grandTotal']);
8585
}
8686
$this->checkoutOnepage->getReviewBlock()->placeOrder();
8787

0 commit comments

Comments
 (0)