Skip to content

Commit

Permalink
404 image url was causing the test to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
mythodeia committed Jun 24, 2015
1 parent 43115af commit 0e761f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Tests/SDWebImageManagerTests.m
Expand Up @@ -38,7 +38,7 @@ - (void)tearDown
- (void)testThatDownloadInvokesCompletionBlockWithCorrectParamsAsync {
__block XCTestExpectation *expectation = [self expectationWithDescription:@"Image download completes"];

NSURL *originalImageURL = [NSURL URLWithString:@"http://static2.dmcdn.net/static/video/656/177/44771656:jpeg_preview_small.jpg?20120509154705"];
NSURL *originalImageURL = [NSURL URLWithString:@"https://www.google.gr/images/srpr/logo11w.png"];

[[SDWebImageManager sharedManager] downloadImageWithURL:originalImageURL options:SDWebImageRefreshCached progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {
expect(image).toNot.beNil();
Expand Down

0 comments on commit 0e761f4

Please sign in to comment.