Skip to content

Commit

Permalink
correct load-only DOMDocument constructor in test
Browse files Browse the repository at this point in the history
  • Loading branch information
guilliamxavier authored and Majkl578 committed Sep 23, 2018
1 parent 32efbd3 commit 47c72e5
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 47c72e5

Please sign in to comment.