Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1832,7 +1832,7 @@ defmodule Phoenix.LiveViewTest do
Or in the case of an error tuple:

assert {:error, {:redirect, %{to: "/somewhere"}}} = result = live(conn, "my-path")
{:ok, view, html} = follow_redirect(result, conn)
{:ok, conn} = follow_redirect(result, conn)

`follow_redirect/3` expects a connection as second argument.
This is the connection that will be used to perform the underlying
Expand Down
Loading