summaryrefslogtreecommitdiffstats
path: root/integrations/api_team_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_team_test.go')
-rw-r--r--integrations/api_team_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_team_test.go b/integrations/api_team_test.go
index d893854470..8b202862a1 100644
--- a/integrations/api_team_test.go
+++ b/integrations/api_team_test.go
@@ -148,7 +148,7 @@ func TestAPITeamSearch(t *testing.T) {
resp := session.MakeRequest(t, req, http.StatusOK)
DecodeJSON(t, resp, &results)
assert.NotEmpty(t, results.Data)
- assert.Equal(t, 1, len(results.Data))
+ assert.Len(t, results.Data, 1)
assert.Equal(t, "test_team", results.Data[0].Name)
// no access if not organization member