From 47c72e583ec5293c94f5ee7db4ea08c4dc6378c0 Mon Sep 17 00:00:00 2001 From: Guilliam Xavier Date: Fri, 10 Aug 2018 11:33:32 +0200 Subject: [PATCH] correct load-only DOMDocument constructor in test --- tests/Doctrine/Tests/ORM/Mapping/XmlMappingDriverTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Mapping/XmlMappingDriverTest.php b/tests/Doctrine/Tests/ORM/Mapping/XmlMappingDriverTest.php index d0a38b490..45beca8d4 100644 --- a/tests/Doctrine/Tests/ORM/Mapping/XmlMappingDriverTest.php +++ b/tests/Doctrine/Tests/ORM/Mapping/XmlMappingDriverTest.php @@ -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);