Skip to content

Commit

Permalink
Fixed travis failed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Janak committed Feb 12, 2019
1 parent 7ebc03f commit 7e4fe31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ public function testSwitchToExistingPage()
$storeRepository = $this->objectManager->create(\Magento\Store\Api\StoreRepositoryInterface::class);
$toStore = $storeRepository->get($toStoreCode);

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

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

0 comments on commit 7e4fe31

Please sign in to comment.