diff options
Diffstat (limited to 'integrations/user_avatar_test.go')
-rw-r--r-- | integrations/user_avatar_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/user_avatar_test.go b/integrations/user_avatar_test.go index 7c2267885a..2bf6fde5ff 100644 --- a/integrations/user_avatar_test.go +++ b/integrations/user_avatar_test.go @@ -70,7 +70,7 @@ func TestUserAvatar(t *testing.T) { req.Header.Add("X-Csrf-Token", csrf) req.Header.Add("Content-Type", writer.FormDataContentType()) - session.MakeRequest(t, req, http.StatusFound) + session.MakeRequest(t, req, http.StatusSeeOther) user2 = unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 2}).(*user_model.User) // owner of the repo3, is an org |