renames PartialMatch to MatchAny

This commit is contained in:
bergquist
2018-09-13 15:15:42 +02:00
parent 835a75335c
commit aed8208d78
6 changed files with 24 additions and 24 deletions
+5 -5
View File
@@ -199,11 +199,11 @@ func TestAnnotations(t *testing.T) {
Convey("Should find two annotations using partial match", func() {
items, err := repo.Find(&annotations.ItemQuery{
OrgId: 1,
From: 1,
To: 25,
PartialMatch: true,
Tags: []string{"rollback", "deploy"},
OrgId: 1,
From: 1,
To: 25,
MatchAny: true,
Tags: []string{"rollback", "deploy"},
})
So(err, ShouldBeNil)