File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
dev/tests/integration/testsuite/Magento/Sales/Controller/Order Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -108,13 +108,7 @@ public function testReorderProductLowQty(): void
108
108
$ order = $ this ->orderFactory ->create ()->loadByIncrementId ('55555555 ' );
109
109
$ this ->customerSession ->setCustomerId ($ order ->getCustomerId ());
110
110
$ 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 ' ));
118
112
}
119
113
120
114
/**
You can’t perform that action at this time.
0 commit comments