aboutsummaryrefslogtreecommitdiffstats
path: root/test/websocket_handler_init_shutdown.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/websocket_handler_init_shutdown.erl')
-rw-r--r--test/websocket_handler_init_shutdown.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/websocket_handler_init_shutdown.erl b/test/websocket_handler_init_shutdown.erl
index 371c34b..5fdfba3 100644
--- a/test/websocket_handler_init_shutdown.erl
+++ b/test/websocket_handler_init_shutdown.erl
@@ -8,7 +8,7 @@
websocket_info/3, websocket_terminate/3]).
init(_Any, _Req, _Opts) ->
- {upgrade, protocol, cowboy_http_websocket}.
+ {upgrade, protocol, cowboy_websocket}.
handle(_Req, _State) ->
exit(badarg).