File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
dev/tests/integration/testsuite/Magento/Checkout/Controller Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,10 @@ public function testMessageAtAddToCartWithRedirect()
322
322
323
323
$ this ->dispatch ('checkout/cart/add ' );
324
324
325
- $ this ->assertEquals ('{"backUrl":"http:\/\/localhost\/index.php\/checkout\/cart\/"} ' , $ this ->getResponse ()->getBody ());
325
+ $ this ->assertEquals (
326
+ '{"backUrl":"http:\/\/localhost\/index.php\/checkout\/cart\/"} ' ,
327
+ $ this ->getResponse ()->getBody ()
328
+ );
326
329
327
330
$ this ->assertSessionMessages (
328
331
$ this ->contains (
@@ -359,7 +362,8 @@ public function testMessageAtAddToCartWithoutRedirect()
359
362
360
363
$ this ->assertSessionMessages (
361
364
$ this ->contains (
362
- "\n" . 'You added Simple Product to your <a href="http://localhost/index.php/checkout/cart/">shopping cart</a>. '
365
+ "\n" . 'You added Simple Product to your ' .
366
+ '<a href="http://localhost/index.php/checkout/cart/">shopping cart</a>. '
363
367
),
364
368
\Magento \Framework \Message \MessageInterface::TYPE_SUCCESS
365
369
);
You can’t perform that action at this time.
0 commit comments