summaryrefslogtreecommitdiffstats
path: root/models/repo_list_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo_list_test.go')
-rw-r--r--models/repo_list_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_list_test.go b/models/repo_list_test.go
index eaf5e8a7ce..4722b073a3 100644
--- a/models/repo_list_test.go
+++ b/models/repo_list_test.go
@@ -78,7 +78,7 @@ func TestSearchRepository(t *testing.T) {
assert.Len(t, repos, 3)
// Test non existing owner
- repos, count, err = SearchRepositoryByName(&SearchRepoOptions{OwnerID: db.NonexistentID})
+ repos, count, err = SearchRepositoryByName(&SearchRepoOptions{OwnerID: unittest.NonexistentID})
assert.NoError(t, err)
assert.Empty(t, repos)