Skip to content

Commit 8a05dbb

Browse files
author
Janak
committed
Fixed travis failed issue
1 parent 618d8e3 commit 8a05dbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/UrlRewrite/Model/StoreSwitcher/RewriteUrlTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ public function testSwitchToExistingPage(): void
9292
$storeRepository = $this->objectManager->create(\Magento\Store\Api\StoreRepositoryInterface::class);
9393
$toStore = $storeRepository->get($toStoreCode);
9494

95-
$redirectUrl = $expectedUrl = "http://localhost/page-c";
95+
$redirectUrl = "http://localhost/index.php/page-c/";
96+
$expectedUrl = "http://localhost/index.php/page-c-on-2nd-store";
9697

9798
$this->assertEquals($expectedUrl, $this->storeSwitcher->switch($fromStore, $toStore, $redirectUrl));
9899
}

0 commit comments

Comments
 (0)