修正单元测试

This commit is contained in:
thinkphp
2016-01-27 16:07:21 +08:00
parent bd866e1bc2
commit 534230fd22

View File

@@ -172,7 +172,7 @@ class responseTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($code, $result["code"]);
$this->assertEquals($msg, $result["msg"]);
$this->assertEquals($data, $result["data"]);
$this->assertEquals($_SERVER['REQUEST_TIME_FLOAT'], $result["time"]);
$this->assertEquals($_SERVER['REQUEST_TIME'], $result["time"]);
$this->assertEquals($type, \think\Response::type());
}