Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit c0ce7ce

Browse files
committed
fixing failed test on old php, constant too
maybe the constant is not available so just pass the integer
1 parent 7b36738 commit c0ce7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Zend/Dom/QueryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public function testQueryOnDomDocument()
240240
</foo>
241241
EOF;
242242
$document = new DOMDocument();
243-
$document->loadXML($xml, LIBXML_PARSEHUGE);
243+
$document->loadXML($xml, 524288 /* LIBXML_PARSEHUGE */);
244244
$this->query->setDocument($document);
245245
$test = $this->query->query('.baz');
246246
$this->assertTrue($test instanceof Zend_Dom_Query_Result);

0 commit comments

Comments
 (0)