From 61b47f6b238e419c14c3eb23e7a618a82273afb4 Mon Sep 17 00:00:00 2001 From: sboko Date: Fri, 9 Oct 2026 13:14:39 +0300 Subject: [PATCH] Replace dead animated test URL - apng.onevcat.com no longer resolves, testWebImageWithAnimatedURL fails on every platform - use TestImageAnimated.apng from the SDWebImage repository instead --- Tests/WebImageTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/WebImageTests.swift b/Tests/WebImageTests.swift index 2270dfa6..5af53394 100644 --- a/Tests/WebImageTests.swift +++ b/Tests/WebImageTests.swift @@ -40,7 +40,7 @@ class WebImageTests: XCTestCase { func testWebImageWithAnimatedURL() throws { let expectation = self.expectation(description: "WebImage animated url initializer") - let imageUrl = URL(string: "https://apng.onevcat.com/assets/elephant.png") + let imageUrl = URL(string: "https://raw.githubusercontent.com/SDWebImage/SDWebImage/master/Tests/Tests/Images/TestImageAnimated.apng") let binding = Binding(wrappedValue: true) let imageView = WebImage(url: imageUrl, isAnimating: binding) let introspectView = imageView.onSuccess { image, data, cacheType in