summaryrefslogtreecommitdiffstats
path: root/models/topic_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/topic_test.go')
-rw-r--r--models/topic_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/models/topic_test.go b/models/topic_test.go
index 9386a71e35..9f6352e7e7 100644
--- a/models/topic_test.go
+++ b/models/topic_test.go
@@ -7,6 +7,7 @@ package models
import (
"testing"
+ "code.gitea.io/gitea/models/db"
"github.com/stretchr/testify/assert"
)
@@ -15,7 +16,7 @@ func TestAddTopic(t *testing.T) {
repo1NrOfTopics := 3
repo2NrOfTopics := 2
- assert.NoError(t, PrepareTestDatabase())
+ assert.NoError(t, db.PrepareTestDatabase())
topics, _, err := FindTopics(&FindTopicOptions{})
assert.NoError(t, err)