File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/code/Magento/Catalog/Test/Unit/Block/Widget Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -240,6 +240,7 @@ function ($route, $params) use ($storeId) {
240240 UrlRewrite::ENTITY_ID => 'entity_id ' ,
241241 UrlRewrite::ENTITY_TYPE => 'entity_type ' ,
242242 UrlRewrite::STORE_ID => $ this ->storeManager ->getStore ($ storeId )->getStoreId (),
243+ UrlRewrite::REDIRECT_TYPE => 0 ,
243244 ]
244245 )
245246 ->willReturn ($ rewrite );
@@ -319,6 +320,7 @@ public function testGetHrefWithForProductWithCategoryIdParameter()
319320 UrlRewrite::ENTITY_TYPE => ProductUrlRewriteGenerator::ENTITY_TYPE ,
320321 UrlRewrite::STORE_ID => $ storeId ,
321322 UrlRewrite::METADATA => ['category_id ' => 'category_id ' ],
323+ UrlRewrite::REDIRECT_TYPE => 0 ,
322324 ]
323325 )
324326 ->willReturn (false );
You can’t perform that action at this time.
0 commit comments