diff options
author | Loïc Hoguin <[email protected]> | 2018-11-21 14:29:36 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-21 14:29:36 +0100 |
commit | 800a4890092ebd30551c49fdae606ed5182bfdb1 (patch) | |
tree | ff62fdfd00999bf9b774e290c0c13eb1a9a74f00 /test/old_http_SUITE.erl | |
parent | bbc152ba8333c923b4eb9a64f4a0bb02e6ab15f0 (diff) | |
download | cowboy-800a4890092ebd30551c49fdae606ed5182bfdb1.tar.gz cowboy-800a4890092ebd30551c49fdae606ed5182bfdb1.tar.bz2 cowboy-800a4890092ebd30551c49fdae606ed5182bfdb1.zip |
Move a old HTTP test cases to new plain_handler test suite
Diffstat (limited to 'test/old_http_SUITE.erl')
-rw-r--r-- | test/old_http_SUITE.erl | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/old_http_SUITE.erl b/test/old_http_SUITE.erl index ff0d4b2..6dbd2d6 100644 --- a/test/old_http_SUITE.erl +++ b/test/old_http_SUITE.erl @@ -113,20 +113,13 @@ do_get(Path, Config) -> check_status(Config) -> Tests = [ - {200, "/simple"}, - {500, "/handler_errors?case=init_before_reply"} + {200, "/simple"} ], _ = [{Status, URL} = begin Ret = do_get(URL, Config), {Ret, URL} end || {Status, URL} <- Tests]. -error_init_after_reply(Config) -> - ConnPid = gun_open(Config), - Ref = gun:get(ConnPid, "/handler_errors?case=init_after_reply"), - {response, nofin, 200, _} = gun:await(ConnPid, Ref), - ok. - rest_param_all(Config) -> ConnPid = gun_open(Config), %% Accept without param. |