Skip to content

Commit 82e5ebe

Browse files
author
Oleksii Korshenko
committed
MAGETWO-70255: Fix trailing slash used in url rewrites #10043
- fixed integration tests
1 parent 0ecf635 commit 82e5ebe

File tree

1 file changed

+3
-3
lines changed
  • dev/tests/integration/testsuite/Magento/Cms/Controller

1 file changed

+3
-3
lines changed

dev/tests/integration/testsuite/Magento/Cms/Controller/PageTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class PageTest extends \Magento\TestFramework\TestCase\AbstractController
1313
{
1414
public function testViewAction()
1515
{
16-
$this->dispatch('/enable-cookies/');
16+
$this->dispatch('/enable-cookies');
1717
$this->assertContains('What are Cookies?', $this->getResponse()->getBody());
1818
}
1919

@@ -22,7 +22,7 @@ public function testViewAction()
2222
*/
2323
public function testAddBreadcrumbs()
2424
{
25-
$this->dispatch('/enable-cookies/');
25+
$this->dispatch('/enable-cookies');
2626
$layout = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(
2727
\Magento\Framework\View\LayoutInterface::class
2828
);
@@ -35,7 +35,7 @@ public function testAddBreadcrumbs()
3535
*/
3636
public function testCreatePageWithSameModuleName()
3737
{
38-
$this->dispatch('/shipping/');
38+
$this->dispatch('/shipping');
3939
$content = $this->getResponse()->getBody();
4040
$this->assertContains('Shipping Test Page', $content);
4141
}

0 commit comments

Comments
 (0)