summaryrefslogtreecommitdiff
path: root/test/support/fake_config.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/fake_config.exs')
-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