diff options
Diffstat (limited to 'test/ws_SUITE_data/ws_init_shutdown.erl')
-rw-r--r-- | test/ws_SUITE_data/ws_init_shutdown.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ws_SUITE_data/ws_init_shutdown.erl b/test/ws_SUITE_data/ws_init_shutdown.erl index 2b1dd99..30bf66e 100644 --- a/test/ws_SUITE_data/ws_init_shutdown.erl +++ b/test/ws_SUITE_data/ws_init_shutdown.erl @@ -10,8 +10,7 @@ init(_Any, _Req, _Opts) -> {upgrade, protocol, cowboy_websocket}. websocket_init(_TransportName, Req, _Opts) -> - {ok, Req2} = cowboy_req:reply(403, Req), - {shutdown, Req2}. + {shutdown, cowboy_req:reply(403, Req)}. websocket_handle(_Frame, _Req, _State) -> exit(badarg). |