0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00

remove unused assignment

This commit is contained in:
hazycora 2024-02-29 13:29:35 -06:00
parent 276bf850c9
commit 152f26f05b
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E

View file

@ -583,7 +583,7 @@ func TestUserPronouns(t *testing.T) {
"email": user2.Email, "email": user2.Email,
"pronouns": newPronouns, "pronouns": newPronouns,
}) })
resp = adminSession.MakeRequest(t, req, http.StatusSeeOther) adminSession.MakeRequest(t, req, http.StatusSeeOther)
user2New := unittest.AssertExistsAndLoadBean(t, &user_model.User{Name: "user2"}) user2New := unittest.AssertExistsAndLoadBean(t, &user_model.User{Name: "user2"})
assert.Equal(t, newPronouns, user2New.Pronouns) assert.Equal(t, newPronouns, user2New.Pronouns)