mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 17:17:19 +00:00
Remove IsOwner, NumTeams from OrgUser (#3269)
This commit is contained in:
@ -425,7 +425,7 @@ func TestGetFeeds2(t *testing.T) {
|
||||
// test with an organization user
|
||||
assert.NoError(t, PrepareTestDatabase())
|
||||
org := AssertExistsAndLoadBean(t, &User{ID: 3}).(*User)
|
||||
userID := AssertExistsAndLoadBean(t, &OrgUser{OrgID: org.ID, IsOwner: true}).(*OrgUser).UID
|
||||
const userID = 2 // user2 is an owner of the organization
|
||||
|
||||
actions, err := GetFeeds(GetFeedsOptions{
|
||||
RequestedUser: org,
|
||||
|
Reference in New Issue
Block a user