Skip to content

Commit 1b0dc7f

Browse files
committed
Bucket, Operation test use https
1 parent 233e91f commit 1b0dc7f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/QiniuTests/Storage/BucketManagerTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public void StatTest()
1414
{
1515
Config config = new Config();
1616
config.Zone = Zone.ZONE_CN_East;
17+
config.UseHttps = true;
1718
Mac mac = new Mac(AccessKey, SecretKey);
1819
BucketManager bucketManager = new BucketManager(mac, config);
1920
string key = "qiniu.png";

src/QiniuTests/Storage/OperationManagerTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public void PfopTest()
2222
string fops = string.Join(";", new string[] { avthumbMp4Fop, vframeJpgFop });
2323
Mac mac = new Mac(AccessKey, SecretKey);
2424
Config config = new Config();
25+
config.UseHttps = true;
2526
OperationManager manager = new OperationManager(mac, config);
2627
string pipeline = "sdktest";
2728
string notifyUrl = "http://api.example.com/qiniu/pfop/notify";

0 commit comments

Comments
 (0)