chore: fix tests

This commit is contained in:
Zach Daniel 2024-09-15 09:49:41 -04:00
parent 0db6a3ba24
commit bf90cd2d54
3 changed files with 4 additions and 2 deletions

View file

@ -67,7 +67,7 @@ defmodule Mix.Tasks.AshAuthentication.Install do
)}
{:error, igniter} ->
extensions = "AshAuthentication.TokenResource,Ash.Policy.Authorizer"
extensions = "AshAuthentication,Ash.Policy.Authorizer"
extensions =
if Code.ensure_loaded?(AshPostgres.DataLayer) do

View file

@ -64,7 +64,7 @@
"rewrite": {:hex, :rewrite, "0.10.5", "6afadeae0b9d843b27ac6225e88e165884875e0aed333ef4ad3bf36f9c101bed", [:mix], [{:glob_ex, "~> 0.1", [hex: :glob_ex, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.0", [hex: :sourceror, repo: "hexpm", optional: false]}], "hexpm", "51cc347a4269ad3a1e7a2c4122dbac9198302b082f5615964358b4635ebf3d4f"},
"sobelow": {:hex, :sobelow, "0.13.0", "218afe9075904793f5c64b8837cc356e493d88fddde126a463839351870b8d1e", [:mix], [{:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "cd6e9026b85fc35d7529da14f95e85a078d9dd1907a9097b3ba6ac7ebbe34a0d"},
"sourceror": {:hex, :sourceror, "1.6.0", "9907884e1449a4bd7dbaabe95088ed4d9a09c3c791fb0103964e6316bc9448a7", [:mix], [], "hexpm", "e90aef8c82dacf32c89c8ef83d1416fc343cd3e5556773eeffd2c1e3f991f699"},
"spark": {:hex, :spark, "2.2.27", "213447d22c5ccdfa9d77bc4c58ba2f5ace99dadd9b974e52a374fa58320ab9e4", [:mix], [{:igniter, ">= 0.2.6 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.2", [hex: :sourceror, repo: "hexpm", optional: false]}], "hexpm", "59ca9129fe707dcfec768591d1d2582c6cc8062fb6329df4837cba8a88392b0b"},
"spark": {:hex, :spark, "2.2.28", "fa97b2ec210fe612bdea2fb01713852af3d0cb2e2dbd959dcfcf2bf97a119073", [:mix], [{:igniter, ">= 0.3.36 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:sourceror, "~> 1.2", [hex: :sourceror, repo: "hexpm", optional: false]}], "hexpm", "bfd19844e0c663aac3619d866d2b1c3422637be8ced500428d5cc5e36f6f9792"},
"spitfire": {:hex, :spitfire, "0.1.3", "7ea0f544005dfbe48e615ed90250c9a271bfe126914012023fd5e4b6b82b7ec7", [:mix], [], "hexpm", "d53b5107bcff526a05c5bb54c95e77b36834550affd5830c9f58760e8c543657"},
"splode": {:hex, :splode, "0.2.4", "71046334c39605095ca4bed5d008372e56454060997da14f9868534c17b84b53", [:mix], [], "hexpm", "ca3b95f0d8d4b482b5357954fec857abd0fa3ea509d623334c1328e7382044c2"},
"stream_data": {:hex, :stream_data, "1.1.1", "fd515ca95619cca83ba08b20f5e814aaf1e5ebff114659dc9731f966c9226246", [:mix], [], "hexpm", "45d0cd46bd06738463fd53f22b70042dbb58c384bb99ef4e7576e7bb7d3b8c8c"},

View file

@ -71,6 +71,7 @@ defmodule Mix.Tasks.AshAuthentication.InstallTest do
otp_app: :test,
domain: Test.Accounts,
authorizers: [Ash.Policy.Authorizer],
extensions: [AshAuthentication],
data_layer: AshPostgres.DataLayer
policies do
@ -117,6 +118,7 @@ defmodule Mix.Tasks.AshAuthentication.InstallTest do
otp_app: :test,
domain: Test.Accounts,
authorizers: [Ash.Policy.Authorizer],
extensions: [AshAuthentication.TokenResource],
data_layer: AshPostgres.DataLayer
policies do