summaryrefslogtreecommitdiffstats
path: root/models/repo/pushmirror_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo/pushmirror_test.go')
-rw-r--r--models/repo/pushmirror_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo/pushmirror_test.go b/models/repo/pushmirror_test.go
index eff31fbac2..83cf86131f 100644
--- a/models/repo/pushmirror_test.go
+++ b/models/repo/pushmirror_test.go
@@ -40,7 +40,7 @@ func TestPushMirrorsIterate(t *testing.T) {
time.Sleep(1 * time.Millisecond)
- PushMirrorsIterate(func(idx int, bean interface{}) error {
+ PushMirrorsIterate(1, func(idx int, bean interface{}) error {
m, ok := bean.(*PushMirror)
assert.True(t, ok)
assert.Equal(t, "test-1", m.RemoteName)