summaryrefslogtreecommitdiffstats
path: root/integrations/user_avatar_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/user_avatar_test.go')
-rw-r--r--integrations/user_avatar_test.go2
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