mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 23:52:49 +08:00
修正单元测试
This commit is contained in:
@@ -22,6 +22,11 @@ use think\Route;
|
|||||||
class routeTest extends \PHPUnit_Framework_TestCase
|
class routeTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
|
protected function setUp()
|
||||||
|
{
|
||||||
|
Config::set('app_multi_module',true);
|
||||||
|
}
|
||||||
|
|
||||||
public function testRegister()
|
public function testRegister()
|
||||||
{
|
{
|
||||||
$request = Request::instance();
|
$request = Request::instance();
|
||||||
|
|||||||
Reference in New Issue
Block a user