Skip to content

Commit 7b64df5

Browse files
committed
Fix test
1 parent 7a37efd commit 7b64df5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

models/issues/issue_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,9 @@ func TestIssues(t *testing.T) {
155155
}{
156156
{
157157
issues_model.IssuesOptions{
158-
AssigneeID: 1,
159-
SortType: "oldest",
158+
ListOptions: db.ListOptionsAll,
159+
AssigneeID: 1,
160+
SortType: "oldest",
160161
},
161162
[]int64{1, 6},
162163
},
@@ -193,6 +194,7 @@ func TestIssues(t *testing.T) {
193194
},
194195
{
195196
issues_model.IssuesOptions{
197+
ListOptions: db.ListOptionsAll,
196198
MilestoneIDs: []int64{1},
197199
},
198200
[]int64{2},

0 commit comments

Comments
 (0)