diff --git a/tests/thinkphp/library/think/responseTest.php b/tests/thinkphp/library/think/responseTest.php index b300f861..ad7925f2 100644 --- a/tests/thinkphp/library/think/responseTest.php +++ b/tests/thinkphp/library/think/responseTest.php @@ -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()); }