mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-19 21:03:23 +12:00
chore: update tests
This commit is contained in:
parent
bf90cd2d54
commit
03d493c7ae
1 changed files with 8 additions and 8 deletions
|
@ -84,6 +84,14 @@ defmodule Mix.Tasks.AshAuthentication.InstallTest do
|
|||
end
|
||||
end
|
||||
|
||||
authentication do
|
||||
tokens do
|
||||
enabled?(true)
|
||||
token_resource(Test.Accounts.Token)
|
||||
signing_secret(:token_signing_secret)
|
||||
end
|
||||
end
|
||||
|
||||
postgres do
|
||||
table("users")
|
||||
repo(AshAuthentication.Repo)
|
||||
|
@ -97,14 +105,6 @@ defmodule Mix.Tasks.AshAuthentication.InstallTest do
|
|||
change(AshAuthentication.Preparations.FilterBySubject)
|
||||
end
|
||||
end
|
||||
|
||||
authentication do
|
||||
tokens do
|
||||
enabled?(true)
|
||||
token_resource(Test.Accounts.Token)
|
||||
signing_secret(:token_signing_secret)
|
||||
end
|
||||
end
|
||||
end
|
||||
""")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue