-
-
Save shankardevy/9a07b38394079fe688abde00231162d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Mix.Config | |
# We don't run a server during test. If one is required, | |
# you can enable the server option below. | |
config :mango, MangoWeb.Endpoint, | |
http: [port: 4001], | |
server: true # changed from false to true | |
config :hound, driver: "phantomjs" # added this line | |
# Print only warnings and errors during test | |
config :logger, level: :warn | |
# Configure your database | |
config :mango, Mango.Repo, | |
adapter: Ecto.Adapters.Postgres, | |
username: "postgres", | |
password: "postgres", | |
database: "mango_test", | |
hostname: "localhost", | |
pool: Ecto.Adapters.SQL.Sandbox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment