From 1b392d5fe38aef1ac689283ec7b33088c590bdfa Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Wed, 14 Aug 2024 12:24:35 -0400 Subject: [PATCH] chore: get build passing --- lib/ash_authentication_phoenix/strategy_router.ex | 2 +- test/support/auth_view.ex | 7 +++++-- test/support/conn_case.ex | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/ash_authentication_phoenix/strategy_router.ex b/lib/ash_authentication_phoenix/strategy_router.ex index 207d7e6..4217bbe 100644 --- a/lib/ash_authentication_phoenix/strategy_router.ex +++ b/lib/ash_authentication_phoenix/strategy_router.ex @@ -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( diff --git a/test/support/auth_view.ex b/test/support/auth_view.ex index e47c547..bd7cde9 100644 --- a/test/support/auth_view.ex +++ b/test/support/auth_view.ex @@ -1,6 +1,9 @@ defmodule AshAuthentication.Phoenix.Test.AuthView do + @moduledoc false use Phoenix.Component - def success(assigns), do: ~H"

Success

" - def signed_out(assigns), do: ~H"

Signed out

" + @doc false + def success(assigns), do: ~H"

Success

" + @doc false + def signed_out(assigns), do: ~H"

Signed out

" end diff --git a/test/support/conn_case.ex b/test/support/conn_case.ex index aac96a7..93698a0 100644 --- a/test/support/conn_case.ex +++ b/test/support/conn_case.ex @@ -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