ash_authentication/config/test.exs
James Harton a939dde9b9
feat(PasswordAuthentication): Registration and authentication with local credentials (#4)
This is missing a bunch of features that you probably want to use (eg confirmation, password resets), but it's a pretty good place to put a stake in the sand and say it works.
2022-10-25 11:07:07 +13:00

23 lines
613 B
Elixir

import Config
config :ash_authentication, ecto_repos: [Example.Repo], ash_apis: [Example]
config :ash_authentication, Example.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
database: "ash_authentication_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: 10
config :ash_authentication, Example,
resources: [
registry: Example.Registry
]
config :bcrypt_elixir, :log_rounds, 4
config :ash, :disable_async?, true
config :ash_authentication, AshAuthentication.Jwt,
signing_secret: "Marty McFly in the past with the Delorean"