Skip to content

Commit b6ed97d

Browse files
committed
fixed unit test
1 parent e0e7d39 commit b6ed97d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/topic_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func TestAddTopic(t *testing.T) {
2222
assert.EqualValues(t, totalNrOfTopics, len(topics))
2323

2424
topics, err = FindTopics(&FindTopicOptions{
25-
ListOptions: ListOptions{PageSize: 2},
25+
ListOptions: ListOptions{Page: 1, PageSize: 2},
2626
})
2727
assert.NoError(t, err)
2828
assert.EqualValues(t, 2, len(topics))

0 commit comments

Comments
 (0)