Changeset View
Changeset View
Standalone View
Standalone View
config/test.exs
use Mix.Config | use Mix.Config | ||||
# We don't run a server during test. If one is required, | # We don't run a server during test. If one is required, | ||||
# you can enable the server option below. | # you can enable the server option below. | ||||
config :kolab_chat, KolabChat.Endpoint, | config :kolab_chat, KolabChat.Endpoint, | ||||
http: [port: 4001], | http: [port: 4001], | ||||
server: false | server: false | ||||
# Print only warnings and errors during test | # Print only warnings and errors during test | ||||
config :logger, level: :warn | config :logger, level: :warn | ||||
# Configure your database | |||||
config :kolab_chat, KolabChat.Repo, | |||||
adapter: Ecto.Adapters.MySQL, | |||||
username: "root", | |||||
password: "12345", | |||||
database: "kolab_chat_test", | |||||
hostname: "localhost", | |||||
pool: Ecto.Adapters.SQL.Sandbox |