From 0cde1582d859756563a1191dc83010446c284543 Mon Sep 17 00:00:00 2001 From: Tim Johnsen Date: Fri, 11 Oct 2024 20:21:10 -0700 Subject: [PATCH] Update SDWebImageTestCache.m Co-authored-by: DreamPiggy --- Tests/Tests/SDWebImageTestCache.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }