diff --git a/SDWebImageWebPCoderTests/SDWebImageWebPCoderTests.m b/SDWebImageWebPCoderTests/SDWebImageWebPCoderTests.m index 97e9b75..9c7b6d9 100644 --- a/SDWebImageWebPCoderTests/SDWebImageWebPCoderTests.m +++ b/SDWebImageWebPCoderTests/SDWebImageWebPCoderTests.m @@ -38,6 +38,8 @@ const int64_t kAsyncTestTimeout = 5; @implementation SDWebImageWebPCoderTests + (void)setUp { + [SDImageCache.sharedImageCache clearMemory]; + [SDImageCache.sharedImageCache clearDiskOnCompletion:nil]; [[SDImageCodersManager sharedManager] addCoder:[SDImageWebPCoder sharedCoder]]; }