Example #1
0
 /**
  * isUsingStaticUrlsAllowed()
  * setStoreId()
  * @magentoConfigFixture current_store cms/wysiwyg/use_static_urls_in_catalog 1
  */
 public function testIsUsingStaticUrlsAllowed()
 {
     $this->assertTrue($this->helper->isUsingStaticUrlsAllowed());
     $this->helper->setStoreId(\Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get('Magento\\Store\\Model\\StoreManagerInterface')->getStore()->getId());
     $this->assertTrue($this->helper->isUsingStaticUrlsAllowed());
 }