summaryrefslogtreecommitdiff
path: root/test/support/fake_config.exs
diff options
context:
space:
mode:
authorTiago Freire <tcfonnet@gmail.com>2016-08-16 01:18:30 -0300
committerTiago Freire <code.tiago.frire@locaweb.com.br>2016-08-16 19:02:58 -0300
commit217482d28f9125cc7a0034896da7a75b9e64ca41 (patch)
tree17335246dd2b76e4ffa2f1b3237715b67bfa1242 /test/support/fake_config.exs
parent[WIP] Init. (diff)
WIP
Diffstat (limited to '')
-rw-r--r--test/support/fake_config.exs9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/support/fake_config.exs b/test/support/fake_config.exs
index e624d8e..9f95fc2 100644
--- a/test/support/fake_config.exs
+++ b/test/support/fake_config.exs
@@ -1,8 +1,11 @@
-defmodule PowerDNSx.FakeConfig do
- @app_config_token "4pp_S3cr37_T0k3n"
- @app_config_url "https://app-config-powerdns.test"
+defmodule PowerDNSex.FakeConfig do
+ @app_config_token "S3cr37_70k3n"
+ @app_config_url "https://my-powerdns.api"
def set_url, do: Application.put_env(:powerdns, :url, @app_config_url)
def set_token, do: Application.put_env(:powerdns, :token, @app_config_token)
+
+ def token, do: @app_config_token
+ def url, do: @app_config_url
end