mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 09:53:10 +02:00
Remove IsOwner, NumTeams from OrgUser (#3269)
This commit is contained in:
1 parent
cb868b7851
commit
f48680888c
7 files changed
+63
-77
No files matched your search
@@ -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