/** * @magentoConfigFixture current_store web/url/use_store 1 */ public function testGetStoreCodeFromPathStoreCodeInUrl() { $this->_model->setPathInfo('admin/test/'); $this->assertEquals('admin', $this->_model->getStoreCodeFromPath()); }
/** * @magentoConfigFixture current_store web/url/use_store 1 */ public function testGetStoreCodeFromPathStoreCodeInUrl() { $this->_model->setPathInfo('admin/test/'); $this->assertEquals('admin', $this->_model->getStoreCodeFromPath()); }