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

Merge pull request #7345 from guilliamxavier/improve-DOMDocument-construct

Correct DOMDocument constructor in test
This commit is contained in:
Michael Moravec 2018-09-23 05:11:21 +02:00 committed by GitHub
commit 96c344d22b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);