From 4e6347ff1bd4fa1ebf883c5b0d59c5340d7d3aab Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 6 Jan 2021 12:21:12 -0800 Subject: [PATCH] Ignore RSS test below PHP 7.1 --- e107_tests/tests/unit/e_parseTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e107_tests/tests/unit/e_parseTest.php b/e107_tests/tests/unit/e_parseTest.php index 7df2a8f0e..2175a190d 100644 --- a/e107_tests/tests/unit/e_parseTest.php +++ b/e107_tests/tests/unit/e_parseTest.php @@ -539,6 +539,12 @@ while($row = $sql->fetch()) */ public function testToRss() { + if(PHP_VERSION_ID < 71000 ) + { + $this->markTestSkipped("testToRSS() skipped. Requires a healthy libxml installation"); + return null; + } + $tests = array( '[html]
</p><p><core name="e_jslib_plugin"><![CDATA[Array]]></core></p><p><core name="e_jslib_theme"><![CDATA[Array]]></core>
[/html]', '
One & Two < and > " or \'
',