Let's add an assertion to the test for fun :)
This commit is contained in:
parent
444d4b5b55
commit
1aafdac3ff
@ -148,6 +148,8 @@ class RouterTest extends \PHPUnit_Framework_TestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function testImpatientClientOverflow() {
|
public function testImpatientClientOverflow() {
|
||||||
|
$this->_conn->expects($this->once())->method('close');
|
||||||
|
|
||||||
$header = "GET /nope HTTP/1.1
|
$header = "GET /nope HTTP/1.1
|
||||||
Upgrade: websocket
|
Upgrade: websocket
|
||||||
Connection: upgrade
|
Connection: upgrade
|
||||||
|
Loading…
Reference in New Issue
Block a user