1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Possible test fix for PHP5.6 etc.

This commit is contained in:
Cameron
2021-01-11 15:38:02 -08:00
parent 67e7823a60
commit c548699854

View File

@@ -286,6 +286,10 @@
$parm = $field.'.icon.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);
}