Skip to content

Commit

Permalink
Fix static tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalevanec authored and Shikha Mishra committed Jan 29, 2019
1 parent 1cb5e51 commit 7de5e7e
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ public function __construct(

/**
* Action after data import.
*
* Save new url rewrites and remove old if exist.
*
* @param Observer $observer
Expand Down Expand Up @@ -268,6 +269,8 @@ protected function _populateForUrlGeneration($rowData)
}

/**
* Add store id to product data.
*
* @param \Magento\Catalog\Model\Product $product
* @param array $rowData
* @return void
Expand Down Expand Up @@ -437,6 +440,8 @@ protected function currentUrlRewritesRegenerate()
}

/**
* Generate url-rewrite for outogenerated url-rewirte.
*
* @param UrlRewrite $url
* @param Category $category
* @return array
Expand Down Expand Up @@ -471,6 +476,8 @@ protected function generateForAutogenerated($url, $category)
}

/**
* Generate url-rewrite for custom url-rewirte.
*
* @param UrlRewrite $url
* @param Category $category
* @return array
Expand Down Expand Up @@ -504,6 +511,8 @@ protected function generateForCustom($url, $category)
}

/**
* Retrieve category from url metadata.
*
* @param UrlRewrite $url
* @return Category|null|bool
*/
Expand All @@ -518,6 +527,8 @@ protected function retrieveCategoryFromMetadata($url)
}

/**
* Check, category suited for url-rewrite generation.
*
* @param \Magento\Catalog\Model\Category $category
* @param int $storeId
* @return bool
Expand Down

0 comments on commit 7de5e7e

Please sign in to comment.