Let's add an assertion to the test for fun :)

This commit is contained in:
Chris Boden 2017-10-14 23:12:27 -04:00
parent 444d4b5b55
commit 1aafdac3ff

View File

@ -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