mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
Response::sendHttpStatus方法废弃 改为http_response_code
This commit is contained in:
@@ -304,15 +304,4 @@ class responseTest extends \PHPUnit_Framework_TestCase
|
||||
// $this->assertContains($name . ': ' . $url, xdebug_get_headers());
|
||||
}
|
||||
|
||||
/**
|
||||
* @#runInSeparateProcess
|
||||
* @covers think\Response::sendHttpStatus
|
||||
* @todo Implement testSendHttpStatus().
|
||||
*/
|
||||
public function testSendHttpStatus()
|
||||
{
|
||||
// \think\Response::sendHttpStatus(416);
|
||||
// $this->assertContains('HTTP/1.1 ' . ': ' . $status, xdebug_get_headers());
|
||||
// $this->assertContains('Status:' . ': ' . $status, xdebug_get_headers());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user