Fix the test case because of cache
This commit is contained in:
parent
681023124b
commit
bf48c6c9aa
|
@ -38,6 +38,8 @@ const int64_t kAsyncTestTimeout = 5;
|
||||||
@implementation SDWebImageWebPCoderTests
|
@implementation SDWebImageWebPCoderTests
|
||||||
|
|
||||||
+ (void)setUp {
|
+ (void)setUp {
|
||||||
|
[SDImageCache.sharedImageCache clearMemory];
|
||||||
|
[SDImageCache.sharedImageCache clearDiskOnCompletion:nil];
|
||||||
[[SDImageCodersManager sharedManager] addCoder:[SDImageWebPCoder sharedCoder]];
|
[[SDImageCodersManager sharedManager] addCoder:[SDImageWebPCoder sharedCoder]];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue