From 1aafdac3ff742434df141a21c986f1cb3d397c7b Mon Sep 17 00:00:00 2001 From: Chris Boden Date: Sat, 14 Oct 2017 23:12:27 -0400 Subject: [PATCH] Let's add an assertion to the test for fun :) --- tests/unit/Http/RouterTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/Http/RouterTest.php b/tests/unit/Http/RouterTest.php index e6ecb7c..1ca4cbc 100644 --- a/tests/unit/Http/RouterTest.php +++ b/tests/unit/Http/RouterTest.php @@ -148,6 +148,8 @@ class RouterTest extends \PHPUnit_Framework_TestCase { } public function testImpatientClientOverflow() { + $this->_conn->expects($this->once())->method('close'); + $header = "GET /nope HTTP/1.1 Upgrade: websocket Connection: upgrade