Ejemplo n.º 1
0
 /**
  * @dataProvider requestPathExceptionDataProvider
  * @expectedException \Magento\Framework\Exception\LocalizedException
  */
 public function testValidateSuffixException($suffix)
 {
     $this->_helper->validateSuffix($suffix);
 }
Ejemplo n.º 2
0
 /**
  * Check url rewrite suffix - whether we can support it
  *
  * @return $this
  */
 public function beforeSave()
 {
     $this->urlRewriteHelper->validateSuffix($this->getValue());
     return $this;
 }
Ejemplo n.º 3
0
 /**
  * Check url rewrite suffix - whether we can support it
  *
  * @return $this
  */
 protected function _beforeSave()
 {
     $this->_coreUrlRewrite->validateSuffix($this->getValue());
     return $this;
 }