Skip to content

Commit 8c95c71

Browse files
committed
modify port test
1 parent a1b653c commit 8c95c71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

QiniuSDKTests/QNHttpTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ - (void)testPostIp {
119119
- (void)testPostNoPort {
120120
__block QNResponseInfo *testInfo = nil;
121121
QNHttpManager *httpManager = [[QNHttpManager alloc] initWithTimeout:60 urlConverter:nil dns:nil];
122-
[httpManager post:@"http://upload.qiniu.com:12345/" withData:nil withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
122+
[httpManager post:@"http://up.qiniug.com:12345/" withData:nil withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
123123
testInfo = info;
124124
} withProgressBlock:nil withCancelBlock:nil];
125125

QiniuSDKTests/QNSessionTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ - (void)testPostIp {
142142
- (void)testPostNoPort {
143143
__block QNResponseInfo *testInfo = nil;
144144
QNSessionManager *httpManager = [[QNSessionManager alloc] initWithProxy:nil timeout:60 urlConverter:nil dns:nil];
145-
[httpManager post:@"http://upload.qiniu.com:12345/" withData:nil withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
145+
[httpManager post:@"http://up.qiniug.com:12345/" withData:nil withParams:nil withHeaders:nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
146146
testInfo = info;
147147
} withProgressBlock:nil withCancelBlock:nil];
148148

0 commit comments

Comments
 (0)