diff options
Diffstat (limited to 'models/org_test.go')
-rw-r--r-- | models/org_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/org_test.go b/models/org_test.go index 1a6b288dc7..ac1a239917 100644 --- a/models/org_test.go +++ b/models/org_test.go @@ -395,7 +395,7 @@ func TestGetOrgUsersByUserID(t *testing.T) { func TestGetOrgUsersByOrgID(t *testing.T) { assert.NoError(t, PrepareTestDatabase()) - orgUsers, err := GetOrgUsersByOrgID(3) + orgUsers, err := GetOrgUsersByOrgID(3, false, 0, 0) assert.NoError(t, err) if assert.Len(t, orgUsers, 3) { assert.Equal(t, OrgUser{ @@ -410,7 +410,7 @@ func TestGetOrgUsersByOrgID(t *testing.T) { IsPublic: false}, *orgUsers[1]) } - orgUsers, err = GetOrgUsersByOrgID(NonexistentID) + orgUsers, err = GetOrgUsersByOrgID(NonexistentID, false, 0, 0) assert.NoError(t, err) assert.Len(t, orgUsers, 0) } |