File tree Expand file tree Collapse file tree 1 file changed +29
-28
lines changed
Expand file tree Collapse file tree 1 file changed +29
-28
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments