aboutsummaryrefslogtreecommitdiffstats
path: root/Test/Unit/Connection.php
diff options
context:
space:
mode:
authorMetalaka <matthieu.de.laubrie@gmail.com>2017-03-30 21:37:26 +0200
committerMetalaka <matthieu.de.laubrie@gmail.com>2017-03-30 21:58:47 +0200
commitbead328cef0a7df0d4aa201f509a8368d253cdc7 (patch)
treeb9bd27690ffd855cb885192ed4e754579975c429 /Test/Unit/Connection.php
parent834b4abf8cad9d1ba4035c2f29f12eb29f2d3e6e (diff)
downloadWebsocket-bead328cef0a7df0d4aa201f509a8368d253cdc7.zip
Websocket-bead328cef0a7df0d4aa201f509a8368d253cdc7.tar.gz
Websocket-bead328cef0a7df0d4aa201f509a8368d253cdc7.tar.bz2
Connection: Add `close-before` event.
Diffstat (limited to 'Test/Unit/Connection.php')
-rw-r--r--Test/Unit/Connection.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Test/Unit/Connection.php b/Test/Unit/Connection.php
index f7fddf8..64a1e4a 100644
--- a/Test/Unit/Connection.php
+++ b/Test/Unit/Connection.php
@@ -121,6 +121,8 @@ class Connection extends Test\Unit\Suite
->isTrue()
->boolean($listener->listenerExists('ping'))
->isTrue()
+ ->boolean($listener->listenerExists('close-before'))
+ ->isTrue()
->boolean($listener->listenerExists('close'))
->isTrue()
->boolean($listener->listenerExists('error'))