You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ phpunit XmlTest.php
PHPUnit 9.3.2 by Sebastian Bergmann and contributors.
E 1 / 1 (100%)
Time: 00:00.003, Memory: 8.00 MB
There was 1 error:
1) XmlTest::test
TypeError: Argument 1 passed to PHPUnit\Util\Xml\Loader::load() must be of the type string, object given, called in vendor/phpunit/phpunit/src/Framework/Assert.php on line 2126
Expected behavior
Only a deprecation warning is triggered. The usage of DOMDocument is supported by all PHPUnit 9.x releases.
The text was updated successfully, but these errors were encountered:
Summary
The usage of a
DOMDocument
value for the$actualXml
argument ofassertXmlStringEqualsXmlFile()
is broken (c331d28).How to reproduce
Expected behavior
Only a deprecation warning is triggered. The usage of
DOMDocument
is supported by all PHPUnit 9.x releases.The text was updated successfully, but these errors were encountered: