aboutsummaryrefslogtreecommitdiffstats
path: root/test/ws_SUITE_data/ws_init_shutdown.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ws_SUITE_data/ws_init_shutdown.erl')
-rw-r--r--test/ws_SUITE_data/ws_init_shutdown.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ws_SUITE_data/ws_init_shutdown.erl b/test/ws_SUITE_data/ws_init_shutdown.erl
index 68f96f0..7bce03b 100644
--- a/test/ws_SUITE_data/ws_init_shutdown.erl
+++ b/test/ws_SUITE_data/ws_init_shutdown.erl
@@ -4,5 +4,5 @@
-export([init/2]).
-init(Req, _) ->
- {shutdown, cowboy_req:reply(403, Req), undefined}.
+init(Req, Opts) ->
+ {ok, cowboy_req:reply(403, Req), Opts}.