Skip to content

Commit dcdd653

Browse files
committed
reduce unnecessary changes
1 parent 4cfe05f commit dcdd653

File tree

1 file changed

+0
-15
lines changed
  • modules/indexer/issues/internal/tests

1 file changed

+0
-15
lines changed

modules/indexer/issues/internal/tests/tests.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,6 @@ var cases = []*testIndexerCase{
125125
{ID: 1002, Comments: []string{"hi", "hello world"}},
126126
},
127127
SearchOptions: &internal.SearchOptions{
128-
Paginator: &db.ListOptions{
129-
ListAll: true,
130-
},
131128
Keyword: "hello",
132129
},
133130
ExpectedIDs: []int64{1002, 1001, 1000},
@@ -145,9 +142,6 @@ var cases = []*testIndexerCase{
145142
{ID: 1007, Title: "hello world", RepoID: 5, IsPublic: false},
146143
},
147144
SearchOptions: &internal.SearchOptions{
148-
Paginator: &db.ListOptions{
149-
ListAll: true,
150-
},
151145
Keyword: "hello",
152146
RepoIDs: []int64{1, 4},
153147
},
@@ -166,9 +160,6 @@ var cases = []*testIndexerCase{
166160
{ID: 1007, Title: "hello world", RepoID: 5, IsPublic: false},
167161
},
168162
SearchOptions: &internal.SearchOptions{
169-
Paginator: &db.ListOptions{
170-
ListAll: true,
171-
},
172163
Keyword: "hello",
173164
RepoIDs: []int64{1, 4},
174165
AllPublic: true,
@@ -250,9 +241,6 @@ var cases = []*testIndexerCase{
250241
{ID: 1004, Title: "hello e", LabelIDs: []int64{}},
251242
},
252243
SearchOptions: &internal.SearchOptions{
253-
Paginator: &db.ListOptions{
254-
ListAll: true,
255-
},
256244
Keyword: "hello",
257245
IncludedLabelIDs: []int64{2000, 2001},
258246
ExcludedLabelIDs: []int64{2003},
@@ -270,9 +258,6 @@ var cases = []*testIndexerCase{
270258
{ID: 1004, Title: "hello e", LabelIDs: []int64{}},
271259
},
272260
SearchOptions: &internal.SearchOptions{
273-
Paginator: &db.ListOptions{
274-
ListAll: true,
275-
},
276261
Keyword: "hello",
277262
IncludedAnyLabelIDs: []int64{2001, 2002},
278263
ExcludedLabelIDs: []int64{2003},

0 commit comments

Comments
 (0)