sloanelybutsurely.com/config/test.exs

21 lines
620 B
Elixir

import Config
config :logger, level: :warning
config :phoenix, :plug_init_mode, :runtime
config :phoenix_live_view,
enable_expensive_runtime_checks: true
config :sloanely_but_surely, Core.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
database: "sloanely_but_surely_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: System.schedulers_online() * 2
config :sloanely_but_surely, Web.Endpoint,
http: [ip: {127, 0, 0, 1}, port: 4002],
secret_key_base: "IAv/74HChZvRYUunjUjCoj/b8NA6mZtVbcxv6ECoOJ+Xr+CeNBVGZ7zkDhUlXSq4",
server: false