test.exs 673 B

12345678910111213141516171819202122
  1. use Mix.Config
  2. # Configure your database
  3. #
  4. # The MIX_TEST_PARTITION environment variable can be used
  5. # to provide built-in test partitioning in CI environment.
  6. # Run `mix help test` for more information.
  7. # config :openpod, Openpod.Repo,
  8. # username: "postgres",
  9. # password: "postgres",
  10. # database: "openpod_test#{System.get_env("MIX_TEST_PARTITION")}",
  11. # hostname: "localhost",
  12. # pool: Ecto.Adapters.SQL.Sandbox
  13. # We don't run a server during test. If one is required,
  14. # you can enable the server option below.
  15. config :openpod, OpenpodWeb.Endpoint,
  16. http: [port: 4002],
  17. server: false
  18. # Print only warnings and errors during test
  19. config :logger, level: :warn