summaryrefslogtreecommitdiffstats
path: root/models/org_team_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/org_team_test.go')
-rw-r--r--models/org_team_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/org_team_test.go b/models/org_team_test.go
index 41040651b4..38e36cf82c 100644
--- a/models/org_team_test.go
+++ b/models/org_team_test.go
@@ -364,7 +364,7 @@ func TestHasTeamRepo(t *testing.T) {
func TestUsersInTeamsCount(t *testing.T) {
assert.NoError(t, PrepareTestDatabase())
- test := func(teamIDs []int64, userIDs []int64, expected int64) {
+ test := func(teamIDs, userIDs []int64, expected int64) {
count, err := UsersInTeamsCount(teamIDs, userIDs)
assert.NoError(t, err)
assert.Equal(t, expected, count)