Skip to content

Commit 9dbe14e

Browse files
committed
ACP2E-2704: Getting Unable to send the cookie. Size of 'mage-messages' while trying to Reorder
1 parent 4041681 commit 9dbe14e

File tree

1 file changed

+1
-7
lines changed
  • dev/tests/integration/testsuite/Magento/Sales/Controller/Order

1 file changed

+1
-7
lines changed

dev/tests/integration/testsuite/Magento/Sales/Controller/Order/ReorderTest.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,7 @@ public function testReorderProductLowQty(): void
108108
$order = $this->orderFactory->create()->loadByIncrementId('55555555');
109109
$this->customerSession->setCustomerId($order->getCustomerId());
110110
$this->dispatchReorderRequest((int)$order->getId());
111-
$origMessage = (string)__('The requested qty is not available');
112-
$message = $this->escaper->escapeHtml(
113-
__('Could not add the product with SKU "%1" to the shopping cart: %2', 'simple-1', $origMessage)
114-
);
115-
$constraint = $this->logicalOr($this->containsEqual($origMessage), $this->containsEqual($message));
116-
$this->assertThat($this->getMessages(MessageInterface::TYPE_ERROR), $constraint);
117-
$this->quote = $this->checkoutSession->getQuote();
111+
$this->assertRedirect($this->stringContains('checkout/cart'));
118112
}
119113

120114
/**

0 commit comments

Comments
 (0)