summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/indexer/issues/indexer_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/indexer/issues/indexer_test.go b/modules/indexer/issues/indexer_test.go
index 0ec23164c2..da4fc9b878 100644
--- a/modules/indexer/issues/indexer_test.go
+++ b/modules/indexer/issues/indexer_test.go
@@ -382,6 +382,12 @@ func searchIssueInProject(t *testing.T) {
},
[]int64{1},
},
+ {
+ SearchOptions{
+ ProjectBoardID: int64Pointer(0), // issue with in default board
+ },
+ []int64{2},
+ },
}
for _, test := range tests {
issueIDs, _, err := SearchIssues(context.TODO(), &test.opts)