Commit f6373229 authored by Jérome Perrin's avatar Jérome Perrin Committed by Alain Takoudjou

adjust test now that sign_in page was renamed

parent 7b11ecf6
......@@ -964,9 +964,9 @@ func TestPrivateBlobDownload(t *testing.T) {
user_ok = (gitfetch && username == "user-ddd" && password == "password-eee")
}
// simulate rails which gives "302 location: .../users/sign_in" when no access by token
// simulate rails which gives "302 location: .../users/sign_in.zip" when no access by token
if !gitfetch && (token1 == "" && token2 == "" && cookie == "") {
w.Header().Set("location", ".../users/sign_in")
w.Header().Set("location", ".../users/sign_in.zip")
w.WriteHeader(302)
return
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment