From b5a504f32608b9293caaf44143a97566c395a88b Mon Sep 17 00:00:00 2001 From: Bogdan Poplauschi Date: Sun, 29 May 2016 13:08:29 +0300 Subject: [PATCH] =?UTF-8?q?Trying=20to=20get=20around=20this=20last=20buil?= =?UTF-8?q?d=20error=20"The=20certificate=20for=20this=20server=20is=20inv?= =?UTF-8?q?alid.=20You=20might=20be=20connecting=20to=20a=20server=20that?= =?UTF-8?q?=20is=20pretending=20to=20be=20=C3=A2=E2=82=AC=C5=93www.google.?= =?UTF-8?q?gr=C3=A2=E2=82=AC=C2=9D=20which=20could=20put=20your=20confiden?= =?UTF-8?q?tial=20information=20at=20risk."=20by=20using=20a=20different?= =?UTF-8?q?=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tests/Tests/SDWebImageManagerTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Tests/SDWebImageManagerTests.m b/Tests/Tests/SDWebImageManagerTests.m index e406959..cf26720 100644 --- a/Tests/Tests/SDWebImageManagerTests.m +++ b/Tests/Tests/SDWebImageManagerTests.m @@ -38,7 +38,7 @@ static int64_t kAsyncTestTimeout = 5; - (void)testThatDownloadInvokesCompletionBlockWithCorrectParamsAsync { __block XCTestExpectation *expectation = [self expectationWithDescription:@"Image download completes"]; - NSURL *originalImageURL = [NSURL URLWithString:@"https://www.google.gr/images/srpr/logo11w.png"]; + NSURL *originalImageURL = [NSURL URLWithString:@"http://s3.amazonaws.com/fast-image-cache/demo-images/FICDDemoImage000.jpg"]; [[SDWebImageManager sharedManager] loadImageWithURL:originalImageURL options:SDWebImageRefreshCached progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { expect(image).toNot.beNil();