Example #1
0
 /**
  * @magentoConfigFixture current_store catalog/seo/category_url_suffix .htm
  * @magentoAppIsolation enabled
  */
 public function testGetCategoryUrlSuffix()
 {
     $this->assertEquals('.htm', $this->_helper->getCategoryUrlSuffix());
 }
Example #2
0
 /**
  * Retrieve category rewrite sufix for store
  *
  * @param int $storeId
  * @return string
  */
 public function getCategoryUrlSuffix($storeId)
 {
     return $this->_catalogCategory->getCategoryUrlSuffix($storeId);
 }