We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ed2687 commit 9a01bcaCopy full SHA for 9a01bca
test/hexdocs/plug_test.exs
@@ -19,11 +19,11 @@ defmodule Hexdocs.PlugTest do
19
end
20
21
test "handle no path" do
22
- conn = conn(:get, "http://plugtest.localhost:5002") |> call()
+ conn = conn(:get, "http://plugtest.localhost:5002/") |> call()
23
assert conn.status == 302
24
25
assert get_resp_header(conn, "location") ==
26
- ["http://localhost:5000/login?hexdocs=plugtest&return="]
+ ["http://localhost:5000/login?hexdocs=plugtest&return=/"]
27
28
29
test "update session and redirect when key is set" do
0 commit comments