1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Ignore RSS test below PHP 7.1

This commit is contained in:
Cameron
2021-01-06 12:21:12 -08:00
parent d365a8eda7
commit 4e6347ff1b

View File

@@ -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]<pre class=&quot;prettyprint linenums&quot; style=&quot;unicode-bidi: embed; direction: ltr;&quot;>&lt;/p&gt;&lt;p&gt;&lt;core name=&quot;e_jslib_plugin&quot;&gt;&lt;![CDATA[Array]]&gt;&lt;/core&gt;&lt;/p&gt;&lt;p&gt;&lt;core name=&quot;e_jslib_theme&quot;&gt;&lt;![CDATA[Array]]&gt;&lt;/core&gt;</pre>[/html]',
'<div class="something">One & Two < and > " or \'</div>',