Skip to content

Commit

Permalink
Let's try this again...
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmoon committed Jul 11, 2019
1 parent 6977b76 commit a40c050
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Tests/PINRemoteImageTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 <NSURL *> *)bigURLs
{
static dispatch_once_t onceToken;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit a40c050

Please sign in to comment.