aboutsummaryrefslogtreecommitdiffstats
path: root/test/cowboy_ct_hook.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-04-22 20:52:08 +0200
committerLoïc Hoguin <[email protected]>2014-04-22 20:52:08 +0200
commitb377eb9805de1fc3de0e1d0f1a448505409e9644 (patch)
tree3c338c45247a8e2ff35099dbec0cae2be09861e2 /test/cowboy_ct_hook.erl
parent75218c4be0e9a2b55c871499668ceba56f7e4aa9 (diff)
downloadcowboy-b377eb9805de1fc3de0e1d0f1a448505409e9644.tar.gz
cowboy-b377eb9805de1fc3de0e1d0f1a448505409e9644.tar.bz2
cowboy-b377eb9805de1fc3de0e1d0f1a448505409e9644.zip
Start applications directly from the ct hook
Diffstat (limited to 'test/cowboy_ct_hook.erl')
-rw-r--r--test/cowboy_ct_hook.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cowboy_ct_hook.erl b/test/cowboy_ct_hook.erl
index 5eb0587..89f480d 100644
--- a/test/cowboy_ct_hook.erl
+++ b/test/cowboy_ct_hook.erl
@@ -17,6 +17,7 @@
-export([init/2]).
init(_, _) ->
+ cowboy_test:start([cowboy, gun]),
error_logger:tty(false),
error_logger:add_report_handler(cowboy_error_h),
{ok, undefined}.