1
0
mirror of synced 2025-02-02 21:41:45 +03:00

correct load-only DOMDocument constructor in test

This commit is contained in:
Guilliam Xavier 2018-08-10 11:33:32 +02:00 committed by Michael Moravec
parent 32efbd3edd
commit 47c72e583e
No known key found for this signature in database
GPG Key ID: 946F139F96C1C1B5

View File

@ -153,7 +153,7 @@ class XmlMappingDriverTest extends AbstractMappingDriverTest
public function testValidateXmlSchema($xmlMappingFile) public function testValidateXmlSchema($xmlMappingFile)
{ {
$xsdSchemaFile = __DIR__ . '/../../../../../doctrine-mapping.xsd'; $xsdSchemaFile = __DIR__ . '/../../../../../doctrine-mapping.xsd';
$dom = new \DOMDocument('UTF-8'); $dom = new \DOMDocument();
$dom->load($xmlMappingFile); $dom->load($xmlMappingFile);