Skip to content

Commit b93ed4d

Browse files
committed
Break long lines in order to comply to PHPCS
1 parent 97c6b0a commit b93ed4d

File tree

1 file changed

+6
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Checkout/Controller

1 file changed

+6
-2
lines changed

dev/tests/integration/testsuite/Magento/Checkout/Controller/CartTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,10 @@ public function testMessageAtAddToCartWithRedirect()
322322

323323
$this->dispatch('checkout/cart/add');
324324

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+
);
326329

327330
$this->assertSessionMessages(
328331
$this->contains(
@@ -359,7 +362,8 @@ public function testMessageAtAddToCartWithoutRedirect()
359362

360363
$this->assertSessionMessages(
361364
$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>.'
363367
),
364368
\Magento\Framework\Message\MessageInterface::TYPE_SUCCESS
365369
);

0 commit comments

Comments
 (0)