Skip to content

Commit

Permalink
MAGETWO-70255: Fix trailing slash used in url rewrites magento#10043
Browse files Browse the repository at this point in the history
 - fixed integration tests
  • Loading branch information
Oleksii Korshenko committed Jun 29, 2017
1 parent 0ecf635 commit 82e5ebe
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class PageTest extends \Magento\TestFramework\TestCase\AbstractController
{
public function testViewAction()
{
$this->dispatch('/enable-cookies/');
$this->dispatch('/enable-cookies');
$this->assertContains('What are Cookies?', $this->getResponse()->getBody());
}

Expand All @@ -22,7 +22,7 @@ public function testViewAction()
*/
public function testAddBreadcrumbs()
{
$this->dispatch('/enable-cookies/');
$this->dispatch('/enable-cookies');
$layout = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(
\Magento\Framework\View\LayoutInterface::class
);
Expand All @@ -35,7 +35,7 @@ public function testAddBreadcrumbs()
*/
public function testCreatePageWithSameModuleName()
{
$this->dispatch('/shipping/');
$this->dispatch('/shipping');
$content = $this->getResponse()->getBody();
$this->assertContains('Shipping Test Page', $content);
}
Expand Down

0 comments on commit 82e5ebe

Please sign in to comment.