chessh/config/test.exs

16 lines
339 B
Elixir
Raw Normal View History

2022-12-19 03:37:10 -05:00
import Config
2022-12-29 19:21:20 -05:00
config :chessh, RateLimits,
jail_timeout_ms: 1000,
2022-12-29 19:49:42 -05:00
jail_attempt_threshold: 3
2022-12-28 01:50:22 -05:00
2022-12-19 03:37:10 -05:00
config :chessh, Chessh.Repo,
database: "chessh-test",
username: "postgres",
password: "postgres",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
config :chessh,
2022-12-28 01:50:22 -05:00
key_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys")