Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
erjiaqing committed May 22, 2018
1 parent 35e0f5b commit 5f08f1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions models/fixtures/issue_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,3 @@
id: 3
issue_id: 2
label_id: 1

-
id: 4
issue_id: 1
label_id: 2
2 changes: 1 addition & 1 deletion models/issue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func TestIssues(t *testing.T) {
Page: 1,
PageSize: 4,
},
[]int64{1}, // issues with **both** label 1 and 2, only issue 1 matches
[]int64{}, // issues with **both** label 1 and 2, none of these issues matches, TODO: add more tests
},
} {
issues, err := Issues(&test.Opts)
Expand Down

0 comments on commit 5f08f1b

Please sign in to comment.