We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 183fbf5 commit 0609976Copy full SHA for 0609976
1 file changed
test/sanity-check/api/taxonomy-test.js
@@ -308,7 +308,7 @@ describe('Taxonomy API Tests', () => {
308
await stack.taxonomy().publish({ locales: ['en-us'], environments: ['development'], items: [] })
309
// Some environments may accept empty arrays, just check it returns something
310
} catch (e) {
311
- expect(e.status).to.be.oneOf([400, 422])
+ expect(e.status).to.be.oneOf([400, 412, 422])
312
}
313
})
314
@@ -367,7 +367,7 @@ describe('Taxonomy API Tests', () => {
367
try {
368
await stack.taxonomy().unpublish({ locales: ['en-us'], environments: ['development'], items: [] })
369
370
371
372
373
0 commit comments