Fix testWebImageWithAnimatedURL: replace dead APNG host by sboko83 · Pull Request #367 · SDWebImage/SDWebImageSwiftUI · GitHub
Skip to content

Fix testWebImageWithAnimatedURL: replace dead APNG host - #367

Open
sboko83 wants to merge 1 commit into
SDWebImage:masterfrom
sboko83:fix/test-animated-url
Open

sboko83 wants to merge 1 commit into
SDWebImage:masterfrom
sboko83:fix/test-animated-url

Conversation

@sboko83

@sboko83 sboko83 commented Oct 9, 2026 •

Copy link
Copy Markdown

Problem

WebImageTests.testWebImageWithAnimatedURL loads https://apng.onevcat.com/assets/elephant.png.
That host no longer resolves (NSURLErrorDomain -1003), so the test fails on iOS, macOS and tvOS
for every PR (see the CI run of #366).

Fix

Point the test at TestImageAnimated.apng from the SDWebImage repository
(raw.githubusercontent.com/SDWebImage/SDWebImage/master/Tests/Tests/Images/), an animated PNG
with 101 frames hosted under the same organization. Test logic is unchanged.

Summary by CodeRabbit

  • Tests
    • Updated an animated-image test to load its sample APNG from a different source.

- apng.onevcat.com no longer resolves, testWebImageWithAnimatedURL fails on every platform
- use TestImageAnimated.apng from the SDWebImage repository instead
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant