test(AshAuthentication): updated tests for signed in user and added test for authcontroller
This commit is contained in:
parent
c7b13c0ecb
commit
fba9abc2c1
8 changed files with 116 additions and 2 deletions
|
|
@ -36,3 +36,12 @@ config :phoenix, :plug_init_mode, :runtime
|
|||
# Enable helpful, but potentially expensive runtime checks
|
||||
config :phoenix_live_view,
|
||||
enable_expensive_runtime_checks: true
|
||||
|
||||
# Token signing secret for AshAuthentication tests
|
||||
config :mv, :token_signing_secret, "test_secret_key_for_ash_authentication_tokens"
|
||||
|
||||
# AshAuthentication test-specific configuration
|
||||
# In Tests we don't need token presence, but in other envs its recommended
|
||||
config :mv, :session_identifier, :unsafe
|
||||
|
||||
config :mv, :require_token_presence_for_authentication, false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue