@@ -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 )
@@ -226,9 +227,9 @@ function makeTerms (taxonomyUid, termUid = null) {
226227 return client . stack ( { api_key : process . env . API_KEY } ) . taxonomy ( taxonomyUid ) . terms ( termUid )
227228}
228229
229- function makeTaxonomy ( ) {
230- return client . stack ( { api_key : process . env . API_KEY } ) . taxonomy ( )
231- }
230+ // function makeTaxonomy () {
231+ // return client.stack({ api_key: process.env.API_KEY }).taxonomy()
232+ // }
232233
233234describe ( 'Terms Query Parameters Sanity Tests' , ( ) => {
234235 beforeEach ( async ( ) => {
0 commit comments