Skip to content

Commit 9a01bca

Browse files
committed
Fix test
1 parent 9ed2687 commit 9a01bca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/hexdocs/plug_test.exs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ defmodule Hexdocs.PlugTest do
1919
end
2020

2121
test "handle no path" do
22-
conn = conn(:get, "http://plugtest.localhost:5002") |> call()
22+
conn = conn(:get, "http://plugtest.localhost:5002/") |> call()
2323
assert conn.status == 302
2424

2525
assert get_resp_header(conn, "location") ==
26-
["http://localhost:5000/login?hexdocs=plugtest&return="]
26+
["http://localhost:5000/login?hexdocs=plugtest&return=/"]
2727
end
2828

2929
test "update session and redirect when key is set" do

0 commit comments

Comments
 (0)