aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo_test.go')
-rw-r--r--models/repo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_test.go b/models/repo_test.go
index da66b16136..2a8a4a743e 100644
--- a/models/repo_test.go
+++ b/models/repo_test.go
@@ -20,5 +20,5 @@ func TestCheckRepoStats(t *testing.T) {
func TestDoctorUserStarNum(t *testing.T) {
assert.NoError(t, unittest.PrepareTestDatabase())
- assert.NoError(t, DoctorUserStarNum())
+ assert.NoError(t, DoctorUserStarNum(db.DefaultContext))
}