0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-10 11:51:33 +02:00

fix test failure during org/group seeding

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2026-05-05 22:31:51 -04:00
parent 9a6dd97153
commit 55b7b1f711
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -87,7 +87,7 @@ func seedOrgWithGroups(t *testing.T) {
teamUser := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: userIDs[userIDIdx]})
mreq := NewRequestf(t, "PUT", "/teams/%d/members/%s", team.ID, teamUser.Name)
mreq := NewRequestf(t, "PUT", "/teams/%d/members/%s", team.ID, teamUser.Name).AddTokenAuth(token)
MakeRequest(t, mreq, http.StatusNoContent)
userIDIdx++
}