@@ -341,18 +341,18 @@ group('init cos', function() {
341
341
Credentials . secretKey = 'abcdefg' ;
342
342
} , 1000 ) ;
343
343
putFile ( initCos , done , assert , true ) ;
344
- } ) ;
345
- test ( 'getAuthorization error tmpSecretId' , function ( done , assert ) {
346
- var initCos = new COS ( {
347
- getAuthorization : function ( options , callback ) {
348
- callback ( {
349
- tmpSecretId : config . SecretId ,
350
- TmpSecretKey : config . SecretKey ,
344
+ } ) ;
345
+ test ( 'getAuthorization error tmpSecretId' , function ( done , assert ) {
346
+ var initCos = new COS ( {
347
+ getAuthorization : function ( options , callback ) {
348
+ callback ( {
349
+ tmpSecretId : config . SecretId ,
350
+ TmpSecretKey : config . SecretKey ,
351
+ } ) ;
352
+ }
351
353
} ) ;
352
- }
354
+ putFile ( initCos , done , assert , false ) ;
353
355
} ) ;
354
- putFile ( initCos , done , assert , false ) ;
355
- } ) ;
356
356
test ( 'getAuthorization error tmpSecretKey' , function ( done , assert ) {
357
357
var initCos = new COS ( {
358
358
getAuthorization : function ( options , callback ) {
@@ -3675,6 +3675,7 @@ group('BucketInventory', function () {
3675
3675
done ( ) ;
3676
3676
} ) ;
3677
3677
} ) ;
3678
+
3678
3679
} ) ;
3679
3680
3680
3681
group ( 'Content-Type: false Bug' , function ( ) {
0 commit comments