diff --git a/Tests/Tests/SDWebImageTestCache.m b/Tests/Tests/SDWebImageTestCache.m index b01ce1e9..5e97cc39 100644 --- a/Tests/Tests/SDWebImageTestCache.m +++ b/Tests/Tests/SDWebImageTestCache.m @@ -108,7 +108,7 @@ static NSString * const SDWebImageTestDiskCacheExtendedAttributeName = @"com.hac } // Remove files that are older than the expiration date; - NSDate *accessDate = resourceValues[NSURLAttributeContentAccessDateKey]; + NSDate *accessDate = resourceValues[NSURLContentAccessDateKey]; if (expirationDate && [[accessDate laterDate:expirationDate] isEqualToDate:expirationDate]) { [self.fileManager removeItemAtURL:fileURL error:nil]; }