@@ -33,8 +33,7 @@ module.exports = (http) => {
33
33
expect ( res . result . Links ) . to . be . eql ( [ ] )
34
34
} )
35
35
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 ( ) => {
38
37
const res = await api . inject ( {
39
38
method : 'POST' ,
40
39
url : '/api/v0/object/new?cid-base=base64'
@@ -88,8 +87,7 @@ module.exports = (http) => {
88
87
expect ( res . result . Data ) . to . be . empty ( )
89
88
} )
90
89
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 ( ) => {
93
91
let res = await api . inject ( {
94
92
method : 'POST' ,
95
93
url : '/api/v0/object/new'
@@ -185,8 +183,7 @@ module.exports = (http) => {
185
183
expect ( res . result ) . to . eql ( expectedResult )
186
184
} )
187
185
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 ( ) => {
190
187
const form = new FormData ( )
191
188
form . append ( 'file' , JSON . stringify ( { Data : 'TEST' + Date . now ( ) , Links : [ ] } ) , { filename : 'node.json' } )
192
189
const headers = form . getHeaders ( )
@@ -258,8 +255,7 @@ module.exports = (http) => {
258
255
expect ( res . result . CumulativeSize ) . to . equal ( 60 + 8 )
259
256
} )
260
257
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 ( ) => {
263
259
let res = await api . inject ( {
264
260
method : 'POST' ,
265
261
url : '/api/v0/object/new'
@@ -366,8 +362,7 @@ module.exports = (http) => {
366
362
expect ( res . result ) . to . deep . equal ( expectedResult )
367
363
} )
368
364
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 ( ) => {
371
366
let res = await api . inject ( {
372
367
method : 'POST' ,
373
368
url : '/api/v0/object/new'
@@ -509,8 +504,7 @@ module.exports = (http) => {
509
504
expect ( res . result ) . to . deep . equal ( expectedResult )
510
505
} )
511
506
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 ( ) => {
514
508
let res = await api . inject ( {
515
509
method : 'POST' ,
516
510
url : '/api/v0/object/new'
@@ -624,8 +618,7 @@ module.exports = (http) => {
624
618
expect ( res . result ) . to . deep . equal ( expectedResult )
625
619
} )
626
620
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 ( ) => {
629
622
let res = await api . inject ( {
630
623
method : 'POST' ,
631
624
url : '/api/v0/object/new'
@@ -731,8 +724,7 @@ module.exports = (http) => {
731
724
} )
732
725
} )
733
726
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 ( ) => {
736
728
let res = await api . inject ( {
737
729
method : 'POST' ,
738
730
url : '/api/v0/object/new'
@@ -820,8 +812,7 @@ module.exports = (http) => {
820
812
expect ( res . result . Hash ) . to . equal ( 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n' )
821
813
} )
822
814
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 ( ) => {
825
816
const linkName = 'TEST' + Date . now ( )
826
817
827
818
let res = await api . inject ( {
0 commit comments