mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Possible test fix for PHP5.6 etc.
This commit is contained in:
@@ -286,6 +286,10 @@
|
|||||||
$parm = $field.'.icon.1';
|
$parm = $field.'.icon.1';
|
||||||
$result = (string) $tp->parseTemplate('{USER_EXTENDED='.$parm.'}', true); // retrieve value for $field of user_id: 1.
|
$result = (string) $tp->parseTemplate('{USER_EXTENDED='.$parm.'}', true); // retrieve value for $field of user_id: 1.
|
||||||
|
|
||||||
|
if(empty($result) && empty($legacyExpectedIcons[$field]))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$this->assertStringContainsString($legacyExpectedIcons[$field], $result);
|
$this->assertStringContainsString($legacyExpectedIcons[$field], $result);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user