diff options
Diffstat (limited to 'test/examples_SUITE.erl')
-rw-r--r-- | test/examples_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/examples_SUITE.erl b/test/examples_SUITE.erl index c60315b..0a3b0eb 100644 --- a/test/examples_SUITE.erl +++ b/test/examples_SUITE.erl @@ -458,14 +458,14 @@ websocket(Config) -> exit(timeout) end, %% Check that we receive the echoed message. - gun:ws_send(Pid, {text, <<"hello">>}), + gun:ws_send(Pid, StreamRef, {text, <<"hello">>}), receive {gun_ws, Pid, StreamRef, {text, <<"That's what she said! hello">>}} -> ok after 500 -> exit(timeout) end, - gun:ws_send(Pid, close) + gun:ws_send(Pid, StreamRef, close) after do_stop(websocket) end. |