summaryrefslogtreecommitdiff
path: root/test/polyjuice/client/endpoint/get_rooms_state_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/polyjuice/client/endpoint/get_rooms_state_test.exs')
-rw-r--r--test/polyjuice/client/endpoint/get_rooms_state_test.exs6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/polyjuice/client/endpoint/get_rooms_state_test.exs b/test/polyjuice/client/endpoint/get_rooms_state_test.exs
index 3c59b80..8cdc312 100644
--- a/test/polyjuice/client/endpoint/get_rooms_state_test.exs
+++ b/test/polyjuice/client/endpoint/get_rooms_state_test.exs
@@ -28,7 +28,8 @@ defmodule Polyjuice.Client.Endpoint.GetRoomsStateTest do
auth_required: true,
body: "",
headers: [
- {"Accept", "application/json"}
+ {"Accept", "application/json"},
+ {"Accept-Encoding", "gzip, deflate"}
],
method: :get,
path: "_matrix/client/r0/rooms/%21room_id/state"
@@ -63,7 +64,8 @@ defmodule Polyjuice.Client.Endpoint.GetRoomsStateTest do
auth_required: true,
body: "",
headers: [
- {"Accept", "application/json"}
+ {"Accept", "application/json"},
+ {"Accept-Encoding", "gzip, deflate"}
],
method: :get,
path: "_matrix/client/r0/rooms/%21room_id/state/m.room.name/"