Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
770B

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