/** * @magentoAppIsolation enabled */ public function testGetDefaultEmailLogo() { \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get('Magento\\Framework\\App\\AreaList')->getArea(\Magento\Framework\App\Area::AREA_FRONTEND)->load(); $this->assertStringEndsWith('static/frontend/Magento/blank/en_US/Magento_Email/logo_email.gif', $this->_model->getDefaultEmailLogo()); }
/** * @magentoAppIsolation enabled */ public function testGetDefaultEmailLogo() { $this->mockModel(); $this->objectManager->get('Magento\\Framework\\App\\AreaList')->getArea(Area::AREA_FRONTEND)->load(); $this->assertStringEndsWith('static/frontend/Magento/luma/en_US/Magento_Email/logo_email.png', $this->model->getDefaultEmailLogo()); }