test.exs 479 B

1234567891011121314151617181920
  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 :giom, GiomWeb.Endpoint,
  5. http: [port: 4001],
  6. server: false
  7. # Print only warnings and errors during test
  8. config :logger, level: :warn
  9. # Configure your database
  10. config :giom, Giom.Repo,
  11. adapter: Ecto.Adapters.Postgres,
  12. username: "postgres",
  13. password: "postgres",
  14. database: "giom_test",
  15. hostname: "localhost",
  16. pool: Ecto.Adapters.SQL.Sandbox