From e2fba6a7bf48818b99f59b2c2b5e8953611dd576 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 2 Feb 2016 18:12:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/thinkphp/library/think/viewTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/thinkphp/library/think/viewTest.php b/tests/thinkphp/library/think/viewTest.php index c50e114b..1e11cfdd 100644 --- a/tests/thinkphp/library/think/viewTest.php +++ b/tests/thinkphp/library/think/viewTest.php @@ -124,7 +124,7 @@ class viewTest extends \PHPUnit_Framework_TestCase $view_instance = \think\View::instance(); $method = new \ReflectionMethod('\think\View', 'ParseTemplate'); $method->setAccessible(true); - $this->assertEquals('/theme_name/template_name.html', $method->invokearg($view_instance, 'template_name')); + $this->assertEquals('/theme_name/template_name.html', $method->invoke($view_instance, 'template_name')); } /**