diff --git a/Tests/PINRemoteImageTests.m b/Tests/PINRemoteImageTests.m index f41aa61f..6bf03d98 100644 --- a/Tests/PINRemoteImageTests.m +++ b/Tests/PINRemoteImageTests.m @@ -183,6 +183,11 @@ - (NSURL *)progressiveURL return [NSURL URLWithString:@"https://performancedemo.vir2al.ch/assets/img/progressive/thumb/spiez_sunset.jpg"]; } +- (NSURL *)progressiveURL2 +{ + return [NSURL URLWithString:@"https://performancedemo.vir2al.ch/assets/img/baseline/thumb/balkon.jpg"]; +} + - (NSArray *)bigURLs { static dispatch_once_t onceToken; @@ -1411,7 +1416,7 @@ - (void)testCancelAllTasks dispatch_group_t group = dispatch_group_create(); dispatch_group_enter(group); - [self.imageManager downloadImageWithURL:[self transparentPNGURL] options:0 progressDownload:^(int64_t completedBytes, int64_t totalBytes) { + [self.imageManager downloadImageWithURL:[self progressiveURL2] options:0 progressDownload:^(int64_t completedBytes, int64_t totalBytes) { static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ dispatch_group_leave(group);