chore: update tests

This commit is contained in:
Zach Daniel 2024-09-15 10:17:26 -04:00
parent bf90cd2d54
commit 03d493c7ae

View file

@ -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