Fixed a unit test that accidentally passed on phpunit < 7 because of sloppy string comparison.

This commit is contained in:
Simon Wisselink
2020-09-11 13:22:45 +02:00
parent 5a72624380
commit a5934a755d

View File

@@ -297,7 +297,7 @@ class CompileFunctionTest extends PHPUnit_Smarty
*/
public function testExternalDefinedFunctionRecursion($text)
{
$this->assertEquals('12345', $this->smarty->fetch('test_template_function_recursion2.tpl'), $text);
$this->assertEquals('012345', $this->smarty->fetch('test_template_function_recursion2.tpl'), $text);
}
/**