From b1f4125678d8ae048b742ea09610ad303a110e84 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 14 Jun 2016 10:14:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/thinkphp/library/think/routeTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/thinkphp/library/think/routeTest.php b/tests/thinkphp/library/think/routeTest.php index 0b0314c2..f3222c8d 100644 --- a/tests/thinkphp/library/think/routeTest.php +++ b/tests/thinkphp/library/think/routeTest.php @@ -22,6 +22,11 @@ use think\Route; class routeTest extends \PHPUnit_Framework_TestCase { + protected function setUp() + { + Config::set('app_multi_module',true); + } + public function testRegister() { $request = Request::instance();