Skip to content

Commit 18ededb

Browse files
committed
try again to fix xxe test
1 parent 645c9e3 commit 18ededb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/04ParsingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ public function testXXE()
728728
$req = new \PhpXmlRpc\Request('hi');
729729
$resp = $req->parseResponse($xml, true);
730730
$val = $resp->value();
731-
if (version_compare(PHP_VERSION, '7.0.0', '>=')) {
731+
if (version_compare(PHP_VERSION, '5.6.0', '>=')) {
732732
$this->assertequals('', $val->scalarVal());
733733
} else {
734734
$this->assertequals('&xxe;', $val->scalarVal());

0 commit comments

Comments
 (0)