@@ -125,9 +125,6 @@ var cases = []*testIndexerCase{
125
125
{ID : 1002 , Comments : []string {"hi" , "hello world" }},
126
126
},
127
127
SearchOptions : & internal.SearchOptions {
128
- Paginator : & db.ListOptions {
129
- ListAll : true ,
130
- },
131
128
Keyword : "hello" ,
132
129
},
133
130
ExpectedIDs : []int64 {1002 , 1001 , 1000 },
@@ -145,9 +142,6 @@ var cases = []*testIndexerCase{
145
142
{ID : 1007 , Title : "hello world" , RepoID : 5 , IsPublic : false },
146
143
},
147
144
SearchOptions : & internal.SearchOptions {
148
- Paginator : & db.ListOptions {
149
- ListAll : true ,
150
- },
151
145
Keyword : "hello" ,
152
146
RepoIDs : []int64 {1 , 4 },
153
147
},
@@ -166,9 +160,6 @@ var cases = []*testIndexerCase{
166
160
{ID : 1007 , Title : "hello world" , RepoID : 5 , IsPublic : false },
167
161
},
168
162
SearchOptions : & internal.SearchOptions {
169
- Paginator : & db.ListOptions {
170
- ListAll : true ,
171
- },
172
163
Keyword : "hello" ,
173
164
RepoIDs : []int64 {1 , 4 },
174
165
AllPublic : true ,
@@ -250,9 +241,6 @@ var cases = []*testIndexerCase{
250
241
{ID : 1004 , Title : "hello e" , LabelIDs : []int64 {}},
251
242
},
252
243
SearchOptions : & internal.SearchOptions {
253
- Paginator : & db.ListOptions {
254
- ListAll : true ,
255
- },
256
244
Keyword : "hello" ,
257
245
IncludedLabelIDs : []int64 {2000 , 2001 },
258
246
ExcludedLabelIDs : []int64 {2003 },
@@ -270,9 +258,6 @@ var cases = []*testIndexerCase{
270
258
{ID : 1004 , Title : "hello e" , LabelIDs : []int64 {}},
271
259
},
272
260
SearchOptions : & internal.SearchOptions {
273
- Paginator : & db.ListOptions {
274
- ListAll : true ,
275
- },
276
261
Keyword : "hello" ,
277
262
IncludedAnyLabelIDs : []int64 {2001 , 2002 },
278
263
ExcludedLabelIDs : []int64 {2003 },
0 commit comments