diff options
Diffstat (limited to 'test/polyjuice/client/endpoint/post_user_filter_test.exs')
-rw-r--r-- | test/polyjuice/client/endpoint/post_user_filter_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/polyjuice/client/endpoint/post_user_filter_test.exs b/test/polyjuice/client/endpoint/post_user_filter_test.exs index 947474c..947aa1e 100644 --- a/test/polyjuice/client/endpoint/post_user_filter_test.exs +++ b/test/polyjuice/client/endpoint/post_user_filter_test.exs @@ -25,7 +25,7 @@ defmodule Polyjuice.Client.Endpoint.PostUserfilterTest do } } - http_spec = Polyjuice.Client.Endpoint.Proto.http_spec(endpoint, "https://example.com") + http_spec = Polyjuice.Client.Endpoint.Proto.http_spec(endpoint) assert TestUtil.http_spec_body_to_binary(http_spec) == %Polyjuice.Client.Endpoint.HttpSpec{ auth_required: true, @@ -35,7 +35,7 @@ defmodule Polyjuice.Client.Endpoint.PostUserfilterTest do {"Content-Type", "application/json"} ], method: :post, - url: "https://example.com/_matrix/client/r0/user/%40alice%3Aexample.com/filter" + path: "_matrix/client/r0/user/%40alice%3Aexample.com/filter" } assert Polyjuice.Client.Endpoint.Proto.transform_http_result( |