Skip to content

Commit d1c2c3f

Browse files
comment test for publishing with api_version in terms-test.js
1 parent 4a2add3 commit d1c2c3f

File tree

1 file changed

+29
-28
lines changed

1 file changed

+29
-28
lines changed

test/sanity-check/api/terms-test.js

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -129,34 +129,35 @@ describe('Terms API Test', () => {
129129
.catch(done)
130130
})
131131

132-
it.skip('should publish with api_version', done => {
133-
const publishData = {
134-
locales: ['en-us'],
135-
environments: ['development'],
136-
items: [
137-
{
138-
uid: taxonomy.uid,
139-
term_uid: 'term_test'
140-
},
141-
{
142-
uid: taxonomy.uid,
143-
term_uid: 'term_test_child1'
144-
},
145-
{
146-
uid: taxonomy.uid,
147-
term_uid: 'term_test_child2'
148-
}
149-
]
150-
}
151-
makeTaxonomy()
152-
.publish(publishData, '3.2')
153-
.then((response) => {
154-
expect(response.notice).to.not.equal(null)
155-
expect(response.job_id).to.not.equal(undefined)
156-
done()
157-
})
158-
.catch(done)
159-
})
132+
// TODO: This test is to be uncommented after the feature is enabled
133+
// it('should publish with api_version', done => {
134+
// const publishData = {
135+
// locales: ['en-us'],
136+
// environments: ['development'],
137+
// items: [
138+
// {
139+
// uid: taxonomy.uid,
140+
// term_uid: 'term_test'
141+
// },
142+
// {
143+
// uid: taxonomy.uid,
144+
// term_uid: 'term_test_child1'
145+
// },
146+
// {
147+
// uid: taxonomy.uid,
148+
// term_uid: 'term_test_child2'
149+
// }
150+
// ]
151+
// }
152+
// makeTaxonomy()
153+
// .publish(publishData, '3.2')
154+
// .then((response) => {
155+
// expect(response.notice).to.not.equal(null)
156+
// expect(response.job_id).to.not.equal(undefined)
157+
// done()
158+
// })
159+
// .catch(done)
160+
// })
160161

161162
it('should search the term with the string passed', done => {
162163
makeTerms(taxonomy.uid).search(termString)

0 commit comments

Comments
 (0)