@@ -62,18 +62,18 @@ describe('Role api test', () => {
6262 . catch ( done )
6363 } )
6464
65- it ( 'should create taxonomy' , async ( ) => {
66- await client . stack ( { api_key : process . env . API_KEY } ) . taxonomy ( ) . create ( { taxonomy } )
67- } )
68-
69- it ( 'should create term' , done => {
70- makeTerms ( taxonomy . uid ) . create ( term )
71- . then ( ( response ) => {
72- expect ( response . uid ) . to . be . equal ( term . term . uid )
73- done ( )
74- } )
75- . catch ( done )
76- } )
65+ // it('should create taxonomy', async () => {
66+ // await client.stack({ api_key: process.env.API_KEY }).taxonomy().create({ taxonomy })
67+ // })
68+
69+ // it('should create term', done => {
70+ // makeTerms(taxonomy.uid).create(term)
71+ // .then((response) => {
72+ // expect(response.uid).to.be.equal(term.term.uid)
73+ // done()
74+ // })
75+ // .catch(done)
76+ // })
7777
7878 it ( 'should create new role in stack' , done => {
7979 getRole ( )
@@ -167,19 +167,19 @@ describe('Role api test', () => {
167167 } )
168168 . catch ( done )
169169 } )
170- it ( 'should delete of the term uid passed' , done => {
171- makeTerms ( taxonomy . uid , term . term . uid ) . delete ( { force : true } )
172- . then ( ( response ) => {
173- expect ( response . status ) . to . be . equal ( 204 )
174- done ( )
175- } )
176- . catch ( done )
177- } )
178-
179- it ( 'should delete taxonomy' , async ( ) => {
180- const taxonomyResponse = await client . stack ( { api_key : process . env . API_KEY } ) . taxonomy ( taxonomy . uid ) . delete ( { force : true } )
181- expect ( taxonomyResponse . status ) . to . be . equal ( 204 )
182- } )
170+ // it('should delete of the term uid passed', done => {
171+ // makeTerms(taxonomy.uid, term.term.uid).delete({ force: true })
172+ // .then((response) => {
173+ // expect(response.status).to.be.equal(204)
174+ // done()
175+ // })
176+ // .catch(done)
177+ // })
178+
179+ // it('should delete taxonomy', async () => {
180+ // const taxonomyResponse = await client.stack({ api_key: process.env.API_KEY }).taxonomy(taxonomy.uid).delete({ force: true })
181+ // expect(taxonomyResponse.status).to.be.equal(204)
182+ // })
183183
184184} )
185185
0 commit comments