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