diff --git a/test/graphql_ws_client/drivers/gun_test.exs b/test/graphql_ws_client/drivers/gun_test.exs index 8c69078..4a67d19 100644 --- a/test/graphql_ws_client/drivers/gun_test.exs +++ b/test/graphql_ws_client/drivers/gun_test.exs @@ -59,7 +59,7 @@ defmodule GraphQLWSClient.Drivers.GunTest do test "success", %{pid: pid, stream_ref: stream_ref} do WSClientMock - |> expect(:open, fn 'example.com', 80, %{protocols: [:http]} -> + |> expect(:open, fn ~c"example.com", 80, %{protocols: [:http]} -> {:ok, pid} end) |> expect(:await_up, fn ^pid, 250 ->