Skip to content

Commit 77aee0e

Browse files
committed
[backport 2.1] Category\Collection::joinUrlRewrite should use the store set on the collection #13756
- fix integration test
1 parent de752ac commit 77aee0e

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Catalog/Model/ResourceModel/Category

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/ResourceModel/Category/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ public function testJoinUrlRewriteNotOnDefaultStore()
6060
$this->assertCount(1, $categories);
6161
/** @var $category \Magento\Catalog\Model\Category */
6262
$category = $categories->getFirstItem();
63-
$this->assertStringEndsWith('category-3-on-2.html', $category->getUrl());
63+
$this->assertContains('category-3-on-2', $category->getUrl());
6464
}
6565
}

0 commit comments

Comments
 (0)