correct load-only DOMDocument constructor in test
This commit is contained in:
parent
32efbd3edd
commit
47c72e583e
1 changed files with 2 additions and 2 deletions
|
@ -152,8 +152,8 @@ class XmlMappingDriverTest extends AbstractMappingDriverTest
|
|||
*/
|
||||
public function testValidateXmlSchema($xmlMappingFile)
|
||||
{
|
||||
$xsdSchemaFile = __DIR__ . '/../../../../../doctrine-mapping.xsd';
|
||||
$dom = new \DOMDocument('UTF-8');
|
||||
$xsdSchemaFile = __DIR__ . '/../../../../../doctrine-mapping.xsd';
|
||||
$dom = new \DOMDocument();
|
||||
|
||||
$dom->load($xmlMappingFile);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue