projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OStatus announce representer.
[akkoma]
/
config
/
test.exs
diff --git
a/config/test.exs
b/config/test.exs
index bcd7af1c5c2d03c17f0ef2e55f2b790ffaa64e7f..85b6ad26b4654834971515b0065f121a7e3f1d2c 100644
(file)
--- a/
config/test.exs
+++ b/
config/test.exs
@@
-9,6
+9,9
@@
config :pleroma, Pleroma.Web.Endpoint,
# Print only warnings and errors during test
config :logger, level: :warn
# Print only warnings and errors during test
config :logger, level: :warn
+config :pleroma, Pleroma.Upload,
+ uploads: "test/uploads"
+
# Configure your database
config :pleroma, Pleroma.Repo,
adapter: Ecto.Adapters.Postgres,
# Configure your database
config :pleroma, Pleroma.Repo,
adapter: Ecto.Adapters.Postgres,
@@
-17,3
+20,10
@@
config :pleroma, Pleroma.Repo,
database: "pleroma_test",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
database: "pleroma_test",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
+
+
+# Reduce hash rounds for testing
+config :comeonin, :pbkdf2_rounds, 1
+
+config :pleroma, :websub, Pleroma.Web.WebsubMock
+config :pleroma, :ostatus, Pleroma.Web.OStatusMock