mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Ignore RSS test below PHP 7.1
This commit is contained in:
@@ -539,6 +539,12 @@ while($row = $sql->fetch())
|
|||||||
*/
|
*/
|
||||||
public function testToRss()
|
public function testToRss()
|
||||||
{
|
{
|
||||||
|
if(PHP_VERSION_ID < 71000 )
|
||||||
|
{
|
||||||
|
$this->markTestSkipped("testToRSS() skipped. Requires a healthy libxml installation");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
$tests = array(
|
$tests = array(
|
||||||
'[html]<pre class="prettyprint linenums" style="unicode-bidi: embed; direction: ltr;"></p><p><core name="e_jslib_plugin"><![CDATA[Array]]></core></p><p><core name="e_jslib_theme"><![CDATA[Array]]></core></pre>[/html]',
|
'[html]<pre class="prettyprint linenums" style="unicode-bidi: embed; direction: ltr;"></p><p><core name="e_jslib_plugin"><![CDATA[Array]]></core></p><p><core name="e_jslib_theme"><![CDATA[Array]]></core></pre>[/html]',
|
||||||
'<div class="something">One & Two < and > " or \'</div>',
|
'<div class="something">One & Two < and > " or \'</div>',
|
||||||
|
Reference in New Issue
Block a user