projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Credo fixes.
[akkoma]
/
config
/
test.exs
diff --git
a/config/test.exs
b/config/test.exs
index d4c641eef1c17362bd5cf8b1909d1bf0a2ef4b19..cbf775109de48f2438e72fe4c3c1c48c91747eb6 100644
(file)
--- a/
config/test.exs
+++ b/
config/test.exs
@@
-74,11
+74,7
@@
config :pleroma, Pleroma.ScheduledActivity,
total_user_limit: 3,
enabled: false
total_user_limit: 3,
enabled: false
-config :pleroma, :rate_limit,
- search: [{1000, 30}, {1000, 30}],
- app_account_creation: {10_000, 5},
- password_reset: {1000, 30},
- ap_routes: nil
+config :pleroma, :rate_limit, %{}
config :pleroma, :http_security, report_uri: "https://endpoint.com"
config :pleroma, :http_security, report_uri: "https://endpoint.com"
@@
-94,10
+90,14
@@
config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock
config :pleroma, :modules, runtime_dir: "test/fixtures/modules"
config :pleroma, :modules, runtime_dir: "test/fixtures/modules"
-config :pleroma, Pleroma.Gun
.API, Pleroma.Gun.API.
Mock
+config :pleroma, Pleroma.Gun
, Pleroma.Gun
Mock
config :pleroma, Pleroma.Emails.NewUsersDigestEmail, enabled: true
config :pleroma, Pleroma.Emails.NewUsersDigestEmail, enabled: true
+config :pleroma, Pleroma.Plugs.RemoteIp, enabled: false
+
+config :pleroma, Pleroma.Web.ApiSpec.CastAndValidate, strict: true
+
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