aboutsummaryrefslogtreecommitdiffstats
path: root/test/ws_SUITE_data/ws_timeout_cancel.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ws_SUITE_data/ws_timeout_cancel.erl')
-rw-r--r--test/ws_SUITE_data/ws_timeout_cancel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ws_SUITE_data/ws_timeout_cancel.erl b/test/ws_SUITE_data/ws_timeout_cancel.erl
index 6fcfc43..7376140 100644
--- a/test/ws_SUITE_data/ws_timeout_cancel.erl
+++ b/test/ws_SUITE_data/ws_timeout_cancel.erl
@@ -8,7 +8,7 @@
init(Req, _) ->
erlang:start_timer(500, self(), should_not_cancel_timer),
- {ws, Req, undefined, 1000}.
+ {cowboy_websocket, Req, undefined, 1000}.
websocket_handle({text, Data}, Req, State) ->
{reply, {text, Data}, Req, State};