diff --git a/Tests/Tests/SDAnimatedImageTest.m b/Tests/Tests/SDAnimatedImageTest.m index 6a66d8de..ef082285 100644 --- a/Tests/Tests/SDAnimatedImageTest.m +++ b/Tests/Tests/SDAnimatedImageTest.m @@ -700,7 +700,7 @@ static BOOL _isCalled; i--; } - if (cnt > 3) { + if (cnt >= 2) { [expectation fulfill]; // Stop Animation to avoid extra callback [wimageView.player stopPlaying]; @@ -753,7 +753,7 @@ static BOOL _isCalled; i--; } - if (cnt > 3) { + if (cnt >= 2) { [expectation fulfill]; // Stop Animation to avoid extra callback [wimageView.player stopPlaying];