projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compatibility with Elixir v1.10
[akkoma]
/
config
/
test.exs
diff --git
a/config/test.exs
b/config/test.exs
index 0ef809ac17ce801f5c02add520fd265b25dd74c9..5c66a36f1d1ebfb11137ff1b516741e6d684f243 100644
(file)
--- a/
config/test.exs
+++ b/
config/test.exs
@@
-15,7
+15,9
@@
config :pleroma, Pleroma.Captcha,
method: Pleroma.Captcha.Mock
# Print only warnings and errors during test
method: Pleroma.Captcha.Mock
# Print only warnings and errors during test
-config :logger, level: :warn
+config :logger, :console,
+ level: :warn,
+ format: "\n[$level] $message\n"
config :pleroma, :auth, oauth_consumer_strategies: []
config :pleroma, :auth, oauth_consumer_strategies: []
@@
-30,7
+32,8
@@
config :pleroma, :instance,
notify_email: "noreply@example.com",
skip_thread_containment: false,
federating: false,
notify_email: "noreply@example.com",
skip_thread_containment: false,
federating: false,
- external_user_synchronization: false
+ external_user_synchronization: false,
+ static_dir: "test/instance_static/"
config :pleroma, :activitypub, sign_object_fetches: false
config :pleroma, :activitypub, sign_object_fetches: false
@@
-65,6
+68,10
@@
config :pleroma, Oban,
queues: false,
prune: :disabled
queues: false,
prune: :disabled
+config :pleroma, Pleroma.Scheduler,
+ jobs: [],
+ global: false
+
config :pleroma, Pleroma.ScheduledActivity,
daily_user_limit: 2,
total_user_limit: 3,
config :pleroma, Pleroma.ScheduledActivity,
daily_user_limit: 2,
total_user_limit: 3,
@@
-88,6
+95,8
@@
config :joken, default_signer: "yU8uHKq+yyAkZ11Hx//jcdacWc8yQ1bxAAGrplzB0Zwwjkp3
config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock
config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock
+config :pleroma, :modules, runtime_dir: "test/fixtures/modules"
+
if File.exists?("./config/test.secret.exs") do
import_config "test.secret.exs"
else
if File.exists?("./config/test.secret.exs") do
import_config "test.secret.exs"
else