mirror of
https://github.com/team-alembic/ash_authentication_phoenix.git
synced 2024-09-17 03:43:35 +12:00
chore: get build passing
This commit is contained in:
parent
7c90908ad9
commit
1b392d5fe3
3 changed files with 9 additions and 4 deletions
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue