Skip to content

Commit 77a5c45

Browse files
committed
fix tests
1 parent d5070a0 commit 77a5c45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

models/org_team_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ func TestUsersInTeamsCount(t *testing.T) {
370370
assert.Equal(t, expected, count)
371371
}
372372

373-
test([]int64{2}, []int64{1, 2, 3, 4}, 2)
374-
test([]int64{1, 2, 3, 4, 5}, []int64{2, 5}, 2)
375-
test([]int64{1, 2, 3, 4, 5}, []int64{2, 3, 5}, 3)
373+
test([]int64{2}, []int64{1, 2, 3, 4}, 1) // only userid 2
374+
test([]int64{1, 2, 3, 4, 5}, []int64{2, 5}, 2) // userid 2,4
375+
test([]int64{1, 2, 3, 4, 5}, []int64{2, 3, 5}, 3) // userid 2,4,5
376376
}

0 commit comments

Comments
 (0)