diff --git a/tests/unit/extensions/smarty/ViewRendererTest.php b/tests/unit/extensions/smarty/ViewRendererTest.php index 2e5e3294f19..92e02900adb 100644 --- a/tests/unit/extensions/smarty/ViewRendererTest.php +++ b/tests/unit/extensions/smarty/ViewRendererTest.php @@ -56,7 +56,7 @@ public function testLayoutAssets() $view = $this->mockView(); $content = $view->renderFile('@yiiunit/extensions/smarty/views/layout.tpl'); - $this->assertEquals(1, preg_match('#\s*#', $content), 'Content does not contain the jquery js:' . $content); + $this->assertEquals(1, preg_match('#\s*#', $content), 'Content does not contain the jquery js:' . $content); } diff --git a/tests/unit/extensions/twig/ViewRendererTest.php b/tests/unit/extensions/twig/ViewRendererTest.php index 67366cc0b2b..cd13c819719 100644 --- a/tests/unit/extensions/twig/ViewRendererTest.php +++ b/tests/unit/extensions/twig/ViewRendererTest.php @@ -39,7 +39,7 @@ public function testLayoutAssets() $view = $this->mockView(); $content = $view->renderFile('@yiiunit/extensions/twig/views/layout.twig'); - $this->assertEquals(1, preg_match('#\s*#', $content), 'Content does not contain the jquery js:' . $content); + $this->assertEquals(1, preg_match('#\s*#', $content), 'Content does not contain the jquery js:' . $content); } public function testAppGlobal()