summaryrefslogtreecommitdiff
path: root/test/polyjuice
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2020-07-26 23:07:49 -0400
committerHubert Chathi <hubert@uhoreg.ca>2020-07-26 23:07:49 -0400
commit7b347e840e08857b9ab3e00902984085e9a517bc (patch)
tree08b1cda583a661da67787bfb68d88baffa3a1f9c /test/polyjuice
parentedit changelog and bump version (diff)
use Jason instead of Poison
Diffstat (limited to 'test/polyjuice')
-rw-r--r--test/polyjuice/client/endpoint/post_join_test.exs2
-rw-r--r--test/polyjuice/client/endpoint/post_login_test.exs2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/polyjuice/client/endpoint/post_join_test.exs b/test/polyjuice/client/endpoint/post_join_test.exs
index 5d6ed65..ec9b6a4 100644
--- a/test/polyjuice/client/endpoint/post_join_test.exs
+++ b/test/polyjuice/client/endpoint/post_join_test.exs
@@ -42,7 +42,7 @@ defmodule Polyjuice.Client.Endpoint.PostJoinTest do
url: "https://example.com/_matrix/client/r0/join/%21room"
}
- assert Poison.decode!(http_spec.body) == %{
+ assert Jason.decode!(http_spec.body) == %{
"third_party_signed" => %{
"sender" => "@alice:example.org",
"mxid" => "@bob:example.org",
diff --git a/test/polyjuice/client/endpoint/post_login_test.exs b/test/polyjuice/client/endpoint/post_login_test.exs
index 0255562..85fc1ba 100644
--- a/test/polyjuice/client/endpoint/post_login_test.exs
+++ b/test/polyjuice/client/endpoint/post_login_test.exs
@@ -38,7 +38,7 @@ defmodule Polyjuice.Client.Endpoint.PostLoginTest do
url: "https://example.com/_matrix/client/r0/login"
}
- assert Poison.decode!(http_spec.body) == %{
+ assert Jason.decode!(http_spec.body) == %{
"type" => "m.login.password",
"identifier" => %{
"type" => "m.id.user",