Trying to get around this last build error "The certificate for this server is i…
…nvalid. You might be connecting to a server that is pretending to be “www.google.gr†which could put your confidential information at risk." by using a different image
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -38,7 +38,7 @@ static int64_t kAsyncTestTimeout = 5; | @@ -38,7 +38,7 @@ static int64_t kAsyncTestTimeout = 5; | ||
38 | - (void)testThatDownloadInvokesCompletionBlockWithCorrectParamsAsync { | 38 | - (void)testThatDownloadInvokesCompletionBlockWithCorrectParamsAsync { |
39 | __block XCTestExpectation *expectation = [self expectationWithDescription:@"Image download completes"]; | 39 | __block XCTestExpectation *expectation = [self expectationWithDescription:@"Image download completes"]; |
40 | 40 | ||
41 | - NSURL *originalImageURL = [NSURL URLWithString:@"https://www.google.gr/images/srpr/logo11w.png"]; | 41 | + NSURL *originalImageURL = [NSURL URLWithString:@"http://s3.amazonaws.com/fast-image-cache/demo-images/FICDDemoImage000.jpg"]; |
42 | 42 | ||
43 | [[SDWebImageManager sharedManager] loadImageWithURL:originalImageURL options:SDWebImageRefreshCached progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { | 43 | [[SDWebImageManager sharedManager] loadImageWithURL:originalImageURL options:SDWebImageRefreshCached progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { |
44 | expect(image).toNot.beNil(); | 44 | expect(image).toNot.beNil(); |
-
Please register or login to post a comment