Ejemplo n.º 1
0
 public function testGetPerFileSchema()
 {
     $actual = $this->_config->getPerFileSchema();
     $this->assertContains('routes.xsd', $actual);
 }
Ejemplo n.º 2
0
 public function testGetPerFileSchema()
 {
     $this->urnResolverMock->expects($this->once())->method('getRealPath')->with('urn:magento:framework:App/etc/routes.xsd')->willReturn($this->urnResolver->getRealPath('urn:magento:framework:App/etc/routes.xsd'));
     $this->assertContains($this->urnResolver->getRealPath('urn:magento:framework:App/etc/routes.xsd'), $this->config->getPerFileSchema());
 }