Skip to content

Commit

Permalink
mark follow_redirect AST as generated (#3585)
Browse files Browse the repository at this point in the history
Closes #3581.
  • Loading branch information
SteffenDE authored Dec 18, 2024
1 parent ff4a338 commit f23f28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/test/live_view_test.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ defmodule Phoenix.LiveViewTest do
"""
defmacro follow_redirect(reason, conn, to \\ nil) do
quote bind_quoted: binding() do
quote bind_quoted: binding(), generated: true do
case reason do
{:error, {:live_redirect, opts}} ->
{conn, to} = Phoenix.LiveViewTest.__follow_redirect__(conn, @endpoint, to, opts)
Expand Down

0 comments on commit f23f28f

Please sign in to comment.