mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
改进Route类
This commit is contained in:
@@ -166,11 +166,6 @@ class routeTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertEquals(['type' => 'method', 'method' => ['\app\index\controller\blog', 'read'], 'params' => []], Route::check($request, 'read'));
|
||||
}
|
||||
|
||||
public function testSsl()
|
||||
{
|
||||
$this->assertEquals(false, Route::isSsl());
|
||||
}
|
||||
|
||||
public function testDomain()
|
||||
{
|
||||
$_SERVER['HTTP_HOST'] = 'subdomain.thinkphp.cn';
|
||||
|
||||
Reference in New Issue
Block a user