Merge pull request #7345 from guilliamxavier/improve-DOMDocument-construct
Correct DOMDocument constructor in test
This commit is contained in:
commit
96c344d22b
@ -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…
x
Reference in New Issue
Block a user