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 7d48d8692f
commit 6f41b9bfc9

View File

@@ -297,7 +297,7 @@ class CompileFunctionTest extends PHPUnit_Smarty
*/ */
public function testExternalDefinedFunctionRecursion($text) 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);
} }
/** /**