mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 00:20:50 +00:00
Remove IsOwner, NumTeams from OrgUser (#3269)
This commit is contained in:
parent
cb868b7851
commit
f48680888c
7 changed files with 63 additions and 77 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue