Skip to content

Commit 2840697

Browse files
authored
Fix flaky test (#5666)
1 parent 97d0923 commit 2840697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/phoenix/controller/controller_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ defmodule Phoenix.Controller.ControllerTest do
788788

789789
test "current_path/2 allows custom nested query params" do
790790
conn = build_conn_for_path("/")
791-
assert current_path(conn, %{foo: %{bar: [:baz], baz: :qux}}) == "/?foo[bar][]=baz&foo[baz]=qux"
791+
assert current_path(conn, [foo: [bar: [:baz], baz: :qux]]) == "/?foo[bar][]=baz&foo[baz]=qux"
792792
end
793793

794794
test "current_url/1 with root path includes trailing slash" do

0 commit comments

Comments
 (0)