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\Acl\AclResource\Config\SchemaLocator(new \Magento\Framework\Config\Dom\UrnResolver()); $this->_xsdSchema = $this->_schemaLocator->getSchema(); $this->_xsdValidator = new \Magento\Framework\TestFramework\Unit\Utility\XsdValidator(); }
protected function setUp() { $this->_schemaLocator = new \Magento\Framework\Acl\AclResource\Config\SchemaLocator(new \Magento\Framework\Config\Dom\UrnResolver()); $this->_xsdSchema = $this->_schemaLocator->getSchema(); $this->_xsdValidator = new \Magento\Framework\TestFramework\Unit\Utility\XsdValidator(); }