@@ -33,8 +33,7 @@ module.exports = (http) => {
3333 expect ( res . result . Links ) . to . be . eql ( [ ] )
3434 } )
3535
36- // TODO: unskip after switch to v1 CIDs by default
37- it . skip ( 'should create a new object and return a base64 encoded CID' , async ( ) => {
36+ it ( 'should create a new object and return a base64 encoded CID' , async ( ) => {
3837 const res = await api . inject ( {
3938 method : 'POST' ,
4039 url : '/api/v0/object/new?cid-base=base64'
@@ -88,8 +87,7 @@ module.exports = (http) => {
8887 expect ( res . result . Data ) . to . be . empty ( )
8988 } )
9089
91- // TODO: unskip after switch to v1 CIDs by default
92- it . skip ( 'should get object and return a base64 encoded CID' , async ( ) => {
90+ it ( 'should get object and return a base64 encoded CID' , async ( ) => {
9391 let res = await api . inject ( {
9492 method : 'POST' ,
9593 url : '/api/v0/object/new'
@@ -185,8 +183,7 @@ module.exports = (http) => {
185183 expect ( res . result ) . to . eql ( expectedResult )
186184 } )
187185
188- // TODO: unskip after switch to v1 CIDs by default
189- it . skip ( 'should put data and return a base64 encoded CID' , async ( ) => {
186+ it ( 'should put data and return a base64 encoded CID' , async ( ) => {
190187 const form = new FormData ( )
191188 form . append ( 'file' , JSON . stringify ( { Data : 'TEST' + Date . now ( ) , Links : [ ] } ) , { filename : 'node.json' } )
192189 const headers = form . getHeaders ( )
@@ -258,8 +255,7 @@ module.exports = (http) => {
258255 expect ( res . result . CumulativeSize ) . to . equal ( 60 + 8 )
259256 } )
260257
261- // TODO: unskip after switch to v1 CIDs by default
262- it . skip ( 'should stat object and return a base64 encoded CID' , async ( ) => {
258+ it ( 'should stat object and return a base64 encoded CID' , async ( ) => {
263259 let res = await api . inject ( {
264260 method : 'POST' ,
265261 url : '/api/v0/object/new'
@@ -366,8 +362,7 @@ module.exports = (http) => {
366362 expect ( res . result ) . to . deep . equal ( expectedResult )
367363 } )
368364
369- // TODO: unskip after switch to v1 CIDs by default
370- it . skip ( 'should list object links and return a base64 encoded CID' , async ( ) => {
365+ it ( 'should list object links and return a base64 encoded CID' , async ( ) => {
371366 let res = await api . inject ( {
372367 method : 'POST' ,
373368 url : '/api/v0/object/new'
@@ -509,8 +504,7 @@ module.exports = (http) => {
509504 expect ( res . result ) . to . deep . equal ( expectedResult )
510505 } )
511506
512- // TODO: unskip after switch to v1 CIDs by default
513- it . skip ( 'should append data to object and return a base64 encoded CID' , async ( ) => {
507+ it ( 'should append data to object and return a base64 encoded CID' , async ( ) => {
514508 let res = await api . inject ( {
515509 method : 'POST' ,
516510 url : '/api/v0/object/new'
@@ -624,8 +618,7 @@ module.exports = (http) => {
624618 expect ( res . result ) . to . deep . equal ( expectedResult )
625619 } )
626620
627- // TODO: unskip after switch to v1 CIDs by default
628- it . skip ( 'should set data for object and return a base64 encoded CID' , async ( ) => {
621+ it ( 'should set data for object and return a base64 encoded CID' , async ( ) => {
629622 let res = await api . inject ( {
630623 method : 'POST' ,
631624 url : '/api/v0/object/new'
@@ -731,8 +724,7 @@ module.exports = (http) => {
731724 } )
732725 } )
733726
734- // TODO: unskip after switch to v1 CIDs by default
735- it . skip ( 'should add a link to an object and return a base64 encoded CID' , async ( ) => {
727+ it ( 'should add a link to an object and return a base64 encoded CID' , async ( ) => {
736728 let res = await api . inject ( {
737729 method : 'POST' ,
738730 url : '/api/v0/object/new'
@@ -820,8 +812,7 @@ module.exports = (http) => {
820812 expect ( res . result . Hash ) . to . equal ( 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n' )
821813 } )
822814
823- // TODO: unskip after switch to v1 CIDs by default
824- it . skip ( 'should remove a link from an object and return a base64 encoded CID' , async ( ) => {
815+ it ( 'should remove a link from an object and return a base64 encoded CID' , async ( ) => {
825816 const linkName = 'TEST' + Date . now ( )
826817
827818 let res = await api . inject ( {
0 commit comments