aboutsummaryrefslogtreecommitdiffstats
path: root/test/sse_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/sse_SUITE.erl')
-rw-r--r--test/sse_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sse_SUITE.erl b/test/sse_SUITE.erl
index b218fa2..21180be 100644
--- a/test/sse_SUITE.erl
+++ b/test/sse_SUITE.erl
@@ -22,7 +22,7 @@ all() ->
http(_) ->
{ok, Pid} = gun:open("sse.now.sh", 443, #{
protocols => [http],
- http_opts => #{content_handlers => [gun_sse, gun_data]}
+ http_opts => #{content_handlers => [gun_sse_h, gun_data_h]}
}),
{ok, http} = gun:await_up(Pid),
common(Pid).
@@ -30,7 +30,7 @@ http(_) ->
http2(_) ->
{ok, Pid} = gun:open("sse.now.sh", 443, #{
protocols => [http2],
- http2_opts => #{content_handlers => [gun_sse, gun_data]}
+ http2_opts => #{content_handlers => [gun_sse_h, gun_data_h]}
}),
{ok, http2} = gun:await_up(Pid),
common(Pid).