mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Force (string) during test.
This commit is contained in:
@@ -279,7 +279,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$parm = $field.'.icon.1';
|
$parm = $field.'.icon.1';
|
||||||
$result = $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.
|
||||||
$this->assertStringContainsString($legacyExpectedIcons[$field], $result);
|
$this->assertStringContainsString($legacyExpectedIcons[$field], $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user