diff options
Diffstat (limited to 'models/topic_test.go')
-rw-r--r-- | models/topic_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/topic_test.go b/models/topic_test.go index c173c7bf2a..b6ef8f565c 100644 --- a/models/topic_test.go +++ b/models/topic_test.go @@ -22,7 +22,7 @@ func TestAddTopic(t *testing.T) { assert.EqualValues(t, totalNrOfTopics, len(topics)) topics, err = FindTopics(&FindTopicOptions{ - Limit: 2, + ListOptions: ListOptions{Page: 1, PageSize: 2}, }) assert.NoError(t, err) assert.EqualValues(t, 2, len(topics)) |