aboutsummaryrefslogtreecommitdiff
path: root/lib/recaptcha/http/mock_http_client.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/recaptcha/http/mock_http_client.ex')
-rw-r--r--lib/recaptcha/http/mock_http_client.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/recaptcha/http/mock_http_client.ex b/lib/recaptcha/http/mock_http_client.ex
index 2355dd3..492376a 100644
--- a/lib/recaptcha/http/mock_http_client.ex
+++ b/lib/recaptcha/http/mock_http_client.ex
@@ -2,6 +2,7 @@ defmodule Recaptcha.Http.MockClient do
@moduledoc """
A mock HTTP client used for testing.
"""
+ alias Recaptcha.Http
def request_verification(body, options \\ [])
@@ -13,6 +14,6 @@ defmodule Recaptcha.Http.MockClient do
# every other match is a pass through to the real client
def request_verification(body, options) do
send self(), {:request_verification, body, options}
- Recaptcha.Http.request_verification(body, options)
+ Http.request_verification(body, options)
end
end