Skip to content

Commit 1613bff

Browse files
committed
fix type warning
1 parent 9f36807 commit 1613bff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/phoenix_live_view/test/live_view_test.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ defmodule Phoenix.LiveViewTest do
338338
start_proxy(path, %{
339339
response: {:document, Phoenix.ConnTest.response(conn, 200)},
340340
connect_params: conn.private[:live_view_connect_params] || %{},
341-
connect_info: conn.private[:live_view_connect_info] || prune_conn(conn) || %{},
341+
connect_info: conn.private[:live_view_connect_info] || prune_conn(conn),
342342
live_module: live_module,
343343
router: router,
344344
endpoint: Phoenix.Controller.endpoint_module(conn),
@@ -670,7 +670,7 @@ defmodule Phoenix.LiveViewTest do
670670
> ...
671671
> end
672672
> ```
673-
>
673+
>
674674
> And you test it with:
675675
>
676676
> ```elixir

0 commit comments

Comments
 (0)