Skip to content

Commit 1db394f

Browse files
committed
MAGETWO-61095: When attempting to place a reorder after a product is disabled, product still gets added to the cart
1 parent 53f71f9 commit 1db394f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ public function processAssert(
5858
$errorMessage = implode(', ', $filter);
5959
\PHPUnit_Framework_Assert::assertFalse(
6060
$orderHistory->getOrderHistoryBlock()->isReorderButtonPresentByOrderId($filter['id']),
61-
'"Reorder" button for order with following data \'' . $errorMessage . '\' is present in Orders block on frontend.'
61+
'"Reorder" button for order with following data \'' . $errorMessage
62+
. '\' is present in Orders block on frontend.'
6263
);
6364
}
6465

0 commit comments

Comments
 (0)