aboutsummaryrefslogtreecommitdiff
path: root/lib/http_client/in_memory.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http_client/in_memory.ex')
-rw-r--r--lib/http_client/in_memory.ex11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/http_client/in_memory.ex b/lib/http_client/in_memory.ex
index a448afd..eabe99f 100644
--- a/lib/http_client/in_memory.ex
+++ b/lib/http_client/in_memory.ex
@@ -6,11 +6,6 @@ defmodule Zendex.HttpClient.InMemory do
@base_url "http://test.zendesk.com"
- def get!(@base_url <> "/api/v2/tickets.json",
- [{"Authorization", _authentication}]) do
- fake_response("ticket")
- end
-
def get!(@base_url <> "/api/v2/search.json?query=requester%3AJimbob+type%3Aticket",
[{"Authorization", _authentication}]) do
fake_response(["Jimbob Ticket 1", "Jimbob Ticket 2"])
@@ -37,12 +32,6 @@ defmodule Zendex.HttpClient.InMemory do
%{id: 67, name: "Sarpedon Baumgartner"}]})
end
- def post!(@base_url <> "/api/v2/tickets.json",
- "{\"ticket\":{}}",
- [{"Authorization", _authentication}, {"Content-Type", "application/json"}]) do
- fake_response("Ticket created successfully!")
- end
-
def post!(@base_url <> "/api/v2/users.json",
"{\"user\":{\"name\":\"Roger\",\"email\":\"roger@dodger.com\"}}",
[{"Authorization", _authentication}, {"Content-Type", "application/json"}]) do