Skip to content

Commit 87d1b71

Browse files
committed
update test
1 parent fbaf025 commit 87d1b71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var group = function (name, fn) {
3838
fn.apply(this, arguments);
3939
});
4040
};
41-
var proxy = 'http://web-proxy.tencent.com:8080';
41+
var proxy = '';
4242

4343
var cos = new COS({
4444
SecretId: config.SecretId,
@@ -207,6 +207,7 @@ group('getObjectUrl()', function () {
207207
}, function (err, data) {
208208
request({
209209
url: data.Url,
210+
proxy: proxy,
210211
}, function (err, response, body) {
211212
assert.ok(!err, '文件获取出错');
212213
assert.ok(response.statusCode === 200, '获取文件 200');

0 commit comments

Comments
 (0)