Skip to content

Commit 1202e3c

Browse files
Make test introduced in 834840e compatible with PHP 5.3
1 parent e60ba3b commit 1202e3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Util/XMLTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,12 +349,12 @@ public function testNestedXmlToVariable()
349349
$dom = new DOMDocument();
350350
$dom->loadXML($xml);
351351

352-
$expected = [
353-
'a' => [
352+
$expected = array(
353+
'a' => array(
354354
'b' => 'foo',
355-
],
355+
),
356356
'c' => 'bar',
357-
];
357+
);
358358

359359
$actual = PHPUnit_Util_XML::xmlToVariable($dom->documentElement);
360360

0 commit comments

Comments
 (0)