Skip to content

Commit 5884179

Browse files
committed
uptemp
1 parent f47e6b5 commit 5884179

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

QiniuSDKTests/QNFormUploadTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ - (void)testHttpsUp {
5757
QNUploadOption *opt = [[QNUploadOption alloc] initWithMime:@"text/plain" progressHandler:nil params:@{ @"x:foo":@"bar" } checkCrc:YES cancellationSignal:nil];
5858
NSData *data = [@"Hello, World!" dataUsingEncoding:NSUTF8StringEncoding];
5959
QNConfiguration *config = [QNConfiguration build:^(QNConfigurationBuilder *builder) {
60-
QNServiceAddress *s = [[QNServiceAddress alloc] init:@"https://up.qbox.me" ips:nil];
60+
QNServiceAddress *s = [[QNServiceAddress alloc] init:@"https://uptemp.qbox.me" ips:nil];
6161
builder.zone = [[QNZone alloc] initWithUp:s upBackup:nil];
6262
}];
6363
QNUploadManager *upManager = [[QNUploadManager alloc]initWithConfiguration:config];

QiniuSDKTests/QNHttpTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ - (void)testPostHttps {
134134
QNResolver *resolver = [[QNResolver alloc] initWithAddres:@"114.114.115.115"];
135135
QNDnsManager *dns = [[QNDnsManager alloc] init:[NSArray arrayWithObject:resolver] networkInfo:[QNNetworkInfo normal]];
136136
QNHttpManager *httpManager = [[QNHttpManager alloc] initWithTimeout:300 urlConverter:nil dns:nil];
137-
[httpManager post:@"https://up.qbox.me" withData:nil withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
137+
[httpManager post:@"https://uptemp.qbox.me" withData:nil withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
138138
testInfo = info;
139139
} withProgressBlock:nil withCancelBlock:nil];
140140

QiniuSDKTests/QNResumeUploadTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ - (void)templateHttps:(int)size {
9494
}];
9595

9696
QNConfiguration *config = [QNConfiguration build:^(QNConfigurationBuilder *builder) {
97-
QNServiceAddress *s = [[QNServiceAddress alloc] init:@"https://up.qbox.me" ips:nil];
97+
QNServiceAddress *s = [[QNServiceAddress alloc] init:@"https://uptemp.qbox.me" ips:nil];
9898
builder.zone = [[QNZone alloc] initWithUp:s upBackup:nil];
9999
}];
100100
QNUploadManager *upManager = [[QNUploadManager alloc]initWithConfiguration:config];

QiniuSDKTests/QNSessionTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ - (void)testPostHttps {
157157
QNResolver *resolver = [[QNResolver alloc] initWithAddres:@"114.114.115.115"];
158158
QNDnsManager *dns = [[QNDnsManager alloc] init:[NSArray arrayWithObject:resolver] networkInfo:[QNNetworkInfo normal]];
159159
QNSessionManager *httpManager = [[QNSessionManager alloc] initWithProxy:nil timeout:300 urlConverter:nil dns:nil];
160-
[httpManager post:@"https://up.qbox.me" withData:data withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
160+
[httpManager post:@"https://uptemp.qbox.me" withData:data withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
161161
testInfo = info;
162162
} withProgressBlock:nil withCancelBlock:nil];
163163

0 commit comments

Comments
 (0)