From a5934a755d5bbda1ca396092850fe0b65fe1d60b Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Fri, 11 Sep 2020 13:22:45 +0200 Subject: [PATCH] Fixed a unit test that accidentally passed on phpunit < 7 because of sloppy string comparison. --- .../TagTests/TemplateFunction/CompileFunctionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php b/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php index 31ea49f2..d2be82ca 100644 --- a/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/TemplateFunction/CompileFunctionTest.php @@ -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); } /**