Skip to content

Commit

Permalink
mark follow_redirect AST as generated
Browse files Browse the repository at this point in the history
Closes #3581.
  • Loading branch information
SteffenDE committed Dec 18, 2024
1 parent ea40066 commit 5ae819f
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 5ae819f

Please sign in to comment.