aboutsummaryrefslogtreecommitdiffstats
path: root/test/autobahn_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/autobahn_SUITE.erl')
-rw-r--r--test/autobahn_SUITE.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/autobahn_SUITE.erl b/test/autobahn_SUITE.erl
index 85647d3..b05920d 100644
--- a/test/autobahn_SUITE.erl
+++ b/test/autobahn_SUITE.erl
@@ -61,10 +61,9 @@ end_per_suite(_Config) ->
init_per_group(autobahn, Config) ->
Port = 33080,
- cowboy:start_listener(autobahn, 100,
- cowboy_tcp_transport, [{port, Port}],
- cowboy_http_protocol, [{dispatch, init_dispatch()}]
- ),
+ cowboy:start_http(autobahn, 100, [{port, Port}], [
+ {dispatch, init_dispatch()}
+ ]),
[{port, Port}|Config].
end_per_group(Listener, _Config) ->