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.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/autobahn_SUITE.erl b/test/autobahn_SUITE.erl
index f9d5a01..61cf631 100644
--- a/test/autobahn_SUITE.erl
+++ b/test/autobahn_SUITE.erl
@@ -75,8 +75,8 @@ end_per_group(Listener, _Config) ->
%% Dispatch configuration.
init_dispatch() ->
- [{[<<"localhost">>], [
- {[<<"echo">>], websocket_echo_handler, []}]}].
+ cowboy_router:compile([{"localhost", [
+ {"/echo", websocket_echo_handler, []}]}]).
%% autobahn cases