Skip to content

Commit

Permalink
Merge pull request #7345 from guilliamxavier/improve-DOMDocument-cons…
Browse files Browse the repository at this point in the history
…truct

Correct DOMDocument constructor in test
  • Loading branch information
Majkl578 authored Sep 23, 2018
2 parents f48d71e + 47c72e5 commit 96c344d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Doctrine/Tests/ORM/Mapping/XmlMappingDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ public function testInvalidMappingFileException()
*/
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);

Expand Down

0 comments on commit 96c344d

Please sign in to comment.