Пример #1
0
 protected function setUp()
 {
     if (!function_exists('libxml_set_external_entity_loader')) {
         $this->markTestSkipped('Skipped on HHVM. Will be fixed in MAGETWO-45033');
     }
     $this->_schemaLocator = new \Magento\Framework\ObjectManager\Config\SchemaLocator();
     $this->_xsdSchema = $this->_schemaLocator->getSchema();
     $this->_xsdValidator = new \Magento\Framework\TestFramework\Unit\Utility\XsdValidator();
 }
Пример #2
0
 protected function setUp()
 {
     $this->_schemaLocator = new \Magento\Framework\ObjectManager\Config\SchemaLocator();
     $this->_xsdSchema = $this->_schemaLocator->getSchema();
     $this->_xsdValidator = new \Magento\Framework\TestFramework\Unit\Utility\XsdValidator();
 }