From 9625b8ab3052611b087b92dde0b3b8d5e927ff65 Mon Sep 17 00:00:00 2001 From: or Date: Mon, 14 May 2018 15:42:14 +0200 Subject: [PATCH] Added unit-test that ensures xml arguments order doesn't matter This test was suggested in https://github.com/sebastianbergmann/phpunit/pull/1236#issue-15314688, but wasn't be implemented. --- tests/DOMNodeComparatorTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/DOMNodeComparatorTest.php b/tests/DOMNodeComparatorTest.php index b3a75e65..0aa2fc08 100644 --- a/tests/DOMNodeComparatorTest.php +++ b/tests/DOMNodeComparatorTest.php @@ -77,7 +77,11 @@ public function assertEqualsSucceedsProvider() $this->createDOMDocument(''), $this->createDOMDocument(''), $ignoreCase = true - ] + ], + [ + $this->createDOMDocument(""), + $this->createDOMDocument(""), + ], ]; }