summaryrefslogtreecommitdiffstats
path: root/modules/repository/create_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/repository/create_test.go')
-rw-r--r--modules/repository/create_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/repository/create_test.go b/modules/repository/create_test.go
index 53c0b0f305..ee76d2181b 100644
--- a/modules/repository/create_test.go
+++ b/modules/repository/create_test.go
@@ -19,7 +19,7 @@ func TestIncludesAllRepositoriesTeams(t *testing.T) {
testTeamRepositories := func(teamID int64, repoIds []int64) {
team := models.AssertExistsAndLoadBean(t, &models.Team{ID: teamID}).(*models.Team)
- assert.NoError(t, team.GetRepositories(), "%s: GetRepositories", team.Name)
+ assert.NoError(t, team.GetRepositories(&models.SearchTeamOptions{}), "%s: GetRepositories", team.Name)
assert.Len(t, team.Repos, team.NumRepos, "%s: len repo", team.Name)
assert.Equal(t, len(repoIds), len(team.Repos), "%s: repo count", team.Name)
for i, rid := range repoIds {