Fixed the tests - were failing because of the #984 changes

This commit is contained in:
Bogdan Poplauschi 2016-10-01 12:40:50 +03:00
parent 62180db828
commit ed5f018c2b
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@
SDWebImageDownloaderOperation *operation = [[SDWebImageDownloaderOperation alloc] initWithRequest:request
inSession:nil
options:0];
[operation addHandlersForProgress:^(NSInteger receivedSize, NSInteger expectedSize) {
[operation addHandlersForProgress:^(NSInteger receivedSize, NSInteger expectedSize, NSURL *imageURL) {
} completed:^(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, BOOL finished) {
if (image && data && !error && finished) {