Skip to content

Commit 5415a34

Browse files
committed
fix: 优化单测
1 parent ca93cbf commit 5415a34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ group('init cos', function () {
415415
Method: 'put',
416416
Key: '1.txt',
417417
Headers: {
418-
Host: `${config.Bucket}.${config.Region}.myqcloud.com`,
418+
Host: `${config.Bucket}.cos.${config.Region}.myqcloud.com`,
419419
}
420420
});
421421
callback({
@@ -673,7 +673,7 @@ group('getAuth();getV4Auth()', function () {
673673
Method: 'get',
674674
Key: key,
675675
Headers: {
676-
Host: `${config.Bucket}.${config.Region}.myqcloud.com`,
676+
Host: `${config.Bucket}.cos.${config.Region}.myqcloud.com`,
677677
}
678678
});
679679
if (typeof AuthData === 'string') {
@@ -5327,7 +5327,7 @@ group('Query 的键值带有特殊字符', function () {
53275327
Key: key,
53285328
Query: qs,
53295329
Headers: {
5330-
Host: `${config.Bucket}.${config.Region}.myqcloud.com`,
5330+
Host: `${config.Bucket}.cos.${config.Region}.myqcloud.com`,
53315331
}
53325332
});
53335333
if (typeof AuthData === 'string') {

0 commit comments

Comments
 (0)