Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/unfollow...
[akkoma] / config / test.exs
1 use Mix.Config
2
3 # We don't run a server during test. If one is required,
4 # you can enable the server option below.
5 config :pleroma, Pleroma.Web.Endpoint,
6 http: [port: 4001],
7 server: false
8
9 # Print only warnings and errors during test
10 config :logger, level: :warn
11
12 config :pleroma, Pleroma.Upload,
13 uploads: "test/uploads"
14
15 # Configure your database
16 config :pleroma, Pleroma.Repo,
17 adapter: Ecto.Adapters.Postgres,
18 username: "postgres",
19 password: "postgres",
20 database: "pleroma_test",
21 hostname: "localhost",
22 pool: Ecto.Adapters.SQL.Sandbox
23
24
25 # Reduce hash rounds for testing
26 config :comeonin, :pbkdf2_rounds, 1
27
28 config :pleroma, :websub_verifier, Pleroma.Web.WebsubMock