Skip to content

Commit

Permalink
Fix flaky test (#5666)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanguilp authored Dec 19, 2023
1 parent 97d0923 commit 2840697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/phoenix/controller/controller_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ defmodule Phoenix.Controller.ControllerTest do

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

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

0 comments on commit 2840697

Please sign in to comment.