Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSen-qn committed Apr 11, 2024
1 parent cf00aaa commit 3f49fde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions QiniuSDKTests/QNCFHttpClientTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ - (void)testHttpPostByIP{

NSData *data = [@"This is a test" dataUsingEncoding:NSUTF8StringEncoding];
NSDictionary *params = @{@"token" : token_na0};
NSURLRequest *request = [self postRequest:@"http://23.236.102.2"
NSURLRequest *request = [self postRequest:@"http://148.153.188.136"
domain:@"up-na0.qiniup.com"
param:params
body:data];
Expand All @@ -95,7 +95,7 @@ - (void)testHttpPostByIP{
- (void)testHttpsPostByIP{
NSData *data = [@"This is a test" dataUsingEncoding:NSUTF8StringEncoding];
NSDictionary *params = @{@"token" : token_na0};
NSURLRequest *request = [self postRequest:@"https://23.236.102.2"
NSURLRequest *request = [self postRequest:@"https://148.153.188.136"
domain:@"up-na0.qiniup.com"
param:params
body:data];
Expand Down
2 changes: 1 addition & 1 deletion QiniuSDKTests/QNUploadErrorTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ - (void)testError_414{

- (void)testError_614{
QNUploadErrorTestParam *param = [QNUploadErrorTestParam param];
param.tempFile = [QNTempFile createTempFileWithSize:128];
param.tempFile = [QNTempFile createTempFileWithSize:127];

__block BOOL isComplete = NO;
[self upload:param complete:^(QNResponseInfo *i, NSString *k, NSDictionary *resp) {
Expand Down

0 comments on commit 3f49fde

Please sign in to comment.