We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631b369 commit 33f0657Copy full SHA for 33f0657
conformance/04_management_test.go
@@ -135,12 +135,16 @@ var test04ContentManagement = func() {
135
Equal(http.StatusNotFound),
136
Equal(http.StatusOK),
137
))
138
+ expectTags := numTags - 1
139
if resp.StatusCode() == http.StatusOK {
140
tagList := &TagList{}
141
jsonData := []byte(resp.String())
142
err = json.Unmarshal(jsonData, tagList)
143
Expect(err).To(BeNil())
- Expect(len(tagList.Tags)).To(BeNumerically("<", numTags))
144
+ Expect(len(tagList.Tags)).To(Equal(expectTags))
145
+ }
146
+ if resp.StatusCode() == http.StatusNotFound {
147
+ Expect(expectTags).To(Equal(0))
148
}
149
})
150
0 commit comments