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) {
240
240
UrlRewrite::ENTITY_ID => 'entity_id ' ,
241
241
UrlRewrite::ENTITY_TYPE => 'entity_type ' ,
242
242
UrlRewrite::STORE_ID => $ this ->storeManager ->getStore ($ storeId )->getStoreId (),
243
+ UrlRewrite::REDIRECT_TYPE => 0 ,
243
244
]
244
245
)
245
246
->willReturn ($ rewrite );
@@ -319,6 +320,7 @@ public function testGetHrefWithForProductWithCategoryIdParameter()
319
320
UrlRewrite::ENTITY_TYPE => ProductUrlRewriteGenerator::ENTITY_TYPE ,
320
321
UrlRewrite::STORE_ID => $ storeId ,
321
322
UrlRewrite::METADATA => ['category_id ' => 'category_id ' ],
323
+ UrlRewrite::REDIRECT_TYPE => 0 ,
322
324
]
323
325
)
324
326
->willReturn (false );
You can’t perform that action at this time.
0 commit comments