chore: get build passing

This commit is contained in:
Zach Daniel 2024-08-14 12:24:35 -04:00
parent 7c90908ad9
commit 1b392d5fe3
3 changed files with 9 additions and 4 deletions

View file

@ -9,7 +9,7 @@ defmodule AshAuthentication.Phoenix.StrategyRouter do
def call(conn, opts) do
# ensure query params have been fetched
conn = Plug.Conn.fetch_query_params(conn)
opts
|> routes()
|> Enum.reduce_while(

View file

@ -1,6 +1,9 @@
defmodule AshAuthentication.Phoenix.Test.AuthView do
@moduledoc false
use Phoenix.Component
def success(assigns), do: ~H"<p>Success</p>"
def signed_out(assigns), do: ~H"<p>Signed out</p>"
@doc false
def success(assigns), do: ~H"<p>Success</p>"
@doc false
def signed_out(assigns), do: ~H"<p>Signed out</p>"
end

View file

@ -1,4 +1,5 @@
defmodule AshAuthentication.Phoenix.Test.ConnCase do
@moduledoc false
use ExUnit.CaseTemplate
using do
@ -9,7 +10,8 @@ defmodule AshAuthentication.Phoenix.Test.ConnCase do
use Phoenix.VerifiedRoutes,
endpoint: @endpoint,
router: AshAuthentication.Phoenix.Test.Router
#statics: ~w(assets fonts images favicon.ico robots.txt)
# statics: ~w(assets fonts images favicon.ico robots.txt)
# Import conveniences for testing with connections
import Plug.Conn