@@ -344,7 +344,7 @@ describe('testing copy object', () => {
344
344
authorization : `Bearer ${ process . env . AUTHENTICATED_KEY } ` ,
345
345
} ,
346
346
payload : {
347
- bucketName : 'bucket2' ,
347
+ bucketId : 'bucket2' ,
348
348
sourceKey : 'authenticated/casestudy.png' ,
349
349
destinationKey : 'authenticated/casestudy11.png' ,
350
350
} ,
@@ -362,7 +362,7 @@ describe('testing copy object', () => {
362
362
authorization : `Bearer ${ anonKey } ` ,
363
363
} ,
364
364
payload : {
365
- bucketName : 'bucket2' ,
365
+ bucketId : 'bucket2' ,
366
366
sourceKey : 'authenticated/casestudy.png' ,
367
367
destinationKey : 'authenticated/casestudy11.png' ,
368
368
} ,
@@ -376,7 +376,7 @@ describe('testing copy object', () => {
376
376
method : 'POST' ,
377
377
url : '/object/copy' ,
378
378
payload : {
379
- bucketName : 'bucket2' ,
379
+ bucketId : 'bucket2' ,
380
380
sourceKey : 'authenticated/casestudy.png' ,
381
381
destinationKey : 'authenticated/casestudy11.png' ,
382
382
} ,
@@ -393,7 +393,7 @@ describe('testing copy object', () => {
393
393
authorization : `Bearer ${ anonKey } ` ,
394
394
} ,
395
395
payload : {
396
- bucketName : 'notfound' ,
396
+ bucketId : 'notfound' ,
397
397
sourceKey : 'authenticated/casestudy.png' ,
398
398
destinationKey : 'authenticated/casestudy11.png' ,
399
399
} ,
@@ -410,7 +410,7 @@ describe('testing copy object', () => {
410
410
authorization : `Bearer ${ anonKey } ` ,
411
411
} ,
412
412
payload : {
413
- bucketName : 'bucket2' ,
413
+ bucketId : 'bucket2' ,
414
414
sourceKey : 'authenticated/notfound.png' ,
415
415
destinationKey : 'authenticated/casestudy11.png' ,
416
416
} ,
@@ -708,7 +708,7 @@ describe('testing move object', () => {
708
708
payload : {
709
709
sourceKey : 'authenticated/move-orig.png' ,
710
710
destinationKey : 'authenticated/move-new.png' ,
711
- bucketName : 'bucket2' ,
711
+ bucketId : 'bucket2' ,
712
712
} ,
713
713
headers : {
714
714
authorization : `Bearer ${ process . env . AUTHENTICATED_KEY } ` ,
@@ -726,7 +726,7 @@ describe('testing move object', () => {
726
726
payload : {
727
727
sourceKey : 'authenticated/move-orig-2.png' ,
728
728
destinationKey : 'authenticated/move-new-2.png' ,
729
- bucketName : 'bucket2' ,
729
+ bucketId : 'bucket2' ,
730
730
} ,
731
731
headers : {
732
732
authorization : `Bearer ${ anonKey } ` ,
@@ -744,7 +744,7 @@ describe('testing move object', () => {
744
744
payload : {
745
745
sourceKey : 'authenticated/move-orig-3.png' ,
746
746
destinationKey : 'authenticated/move-orig-new-3.png' ,
747
- bucketName : 'bucket2' ,
747
+ bucketId : 'bucket2' ,
748
748
} ,
749
749
} )
750
750
expect ( response . statusCode ) . toBe ( 400 )
@@ -759,7 +759,7 @@ describe('testing move object', () => {
759
759
payload : {
760
760
sourceKey : 'authenticated/move-orig-3.png' ,
761
761
destinationKey : 'authenticated/move-orig-new-3.png' ,
762
- bucketName : 'notfound' ,
762
+ bucketId : 'notfound' ,
763
763
} ,
764
764
headers : {
765
765
authorization : `Bearer ${ process . env . AUTHENTICATED_KEY } ` ,
@@ -777,7 +777,7 @@ describe('testing move object', () => {
777
777
payload : {
778
778
sourceKey : 'authenticated/notfound' ,
779
779
destinationKey : 'authenticated/move-orig-new-3.png' ,
780
- bucketName : 'bucket2' ,
780
+ bucketId : 'bucket2' ,
781
781
} ,
782
782
headers : {
783
783
authorization : `Bearer ${ process . env . AUTHENTICATED_KEY } ` ,
@@ -795,7 +795,7 @@ describe('testing move object', () => {
795
795
payload : {
796
796
sourceKey : 'authenticated/move-orig-2.png' ,
797
797
destinationKey : 'authenticated/move-orig-3.png' ,
798
- bucketName : 'bucket2' ,
798
+ bucketId : 'bucket2' ,
799
799
} ,
800
800
headers : {
801
801
authorization : `Bearer ${ process . env . AUTHENTICATED_KEY } ` ,
0 commit comments