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.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/models/repo_pushmirror_test.go b/models/repo_pushmirror_test.go
index 66c499b1c3..65ef918141 100644
--- a/models/repo_pushmirror_test.go
+++ b/models/repo_pushmirror_test.go
@@ -8,13 +8,14 @@ import (
"testing"
"time"
+ "code.gitea.io/gitea/models/db"
"code.gitea.io/gitea/modules/timeutil"
"github.com/stretchr/testify/assert"
)
func TestPushMirrorsIterate(t *testing.T) {
- assert.NoError(t, PrepareTestDatabase())
+ assert.NoError(t, db.PrepareTestDatabase())
now := timeutil.TimeStampNow()