projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MastodonAPITest: Do the needful
[akkoma]
/
config
/
test.exs
diff --git
a/config/test.exs
b/config/test.exs
index cbf775109de48f2438e72fe4c3c1c48c91747eb6..413c7f0b91ab2f81937d13c0a0a3b6c6d185aff8 100644
(file)
--- a/
config/test.exs
+++ b/
config/test.exs
@@
-56,6
+56,19
@@
config :pleroma, :rich_media,
ignore_hosts: [],
ignore_tld: ["local", "localdomain", "lan"]
ignore_hosts: [],
ignore_tld: ["local", "localdomain", "lan"]
+config :pleroma, :instance,
+ multi_factor_authentication: [
+ totp: [
+ # digits 6 or 8
+ digits: 6,
+ period: 30
+ ],
+ backup_codes: [
+ number: 2,
+ length: 6
+ ]
+ ]
+
config :web_push_encryption, :vapid_details,
subject: "mailto:administrator@example.com",
public_key:
config :web_push_encryption, :vapid_details,
subject: "mailto:administrator@example.com",
public_key:
@@
-66,8
+79,8
@@
config :web_push_encryption, :http_client, Pleroma.Web.WebPushHttpClientMock
config :pleroma, Oban,
queues: false,
config :pleroma, Oban,
queues: false,
-
prune: :disabled
,
-
crontab
: false
+
crontab: false
,
+
plugins
: false
config :pleroma, Pleroma.ScheduledActivity,
daily_user_limit: 2,
config :pleroma, Pleroma.ScheduledActivity,
daily_user_limit: 2,
@@
-98,6
+111,17
@@
config :pleroma, Pleroma.Plugs.RemoteIp, enabled: false
config :pleroma, Pleroma.Web.ApiSpec.CastAndValidate, strict: true
config :pleroma, Pleroma.Web.ApiSpec.CastAndValidate, strict: true
+config :pleroma, :instances_favicons, enabled: true
+
+config :pleroma, Pleroma.Uploaders.S3,
+ bucket: nil,
+ streaming_enabled: true,
+ public_endpoint: nil
+
+config :tzdata, :autoupdate, :disabled
+
+config :pleroma, :mrf, policies: []
+
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