summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2023-12-10 19:19:56 +0400
committerLain Soykaf <lain@lain.com>2023-12-10 19:19:56 +0400
commit6e3267d1bd5494c8eec7a1b53062f1b51cebf5d6 (patch)
tree499461d9ccae434212a5fde4c6e51685be887e5a /config
parentc068a218eac02044cb5823abb1917051e1815b4f (diff)
downloadpleroma-6e3267d1bd5494c8eec7a1b53062f1b51cebf5d6.tar.gz
pleroma-6e3267d1bd5494c8eec7a1b53062f1b51cebf5d6.zip
Tests: Fix all the tests.
Diffstat (limited to 'config')
-rw-r--r--config/test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/test.exs b/config/test.exs
index 1d121e5e9..5724319a2 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -145,7 +145,8 @@ config :pleroma, :config_impl, Pleroma.UnstubbedConfigMock
config :pleroma, Pleroma.PromEx, disabled: true
-config Pleroma.User.Backup, :config_impl, Pleroma.UnstubbedConfigMock
+# Mox definitions. Only read during compile time.
+Application.put_env(Pleroma.User.Backup, :config_impl, Pleroma.UnstubbedConfigMock)
if File.exists?("./config/test.secret.exs") do
import_config "test.secret.exs"