From 33ba4893276bb2714149ff6a794f4eb460503d88 Mon Sep 17 00:00:00 2001 From: Jon Shier Date: Fri, 4 Aug 2023 14:28:06 -0400 Subject: [PATCH] Make test more reliable. --- Tests/ImageDownloaderTests.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Tests/ImageDownloaderTests.swift b/Tests/ImageDownloaderTests.swift index 858a4f3..8e8799a 100644 --- a/Tests/ImageDownloaderTests.swift +++ b/Tests/ImageDownloaderTests.swift @@ -561,11 +561,7 @@ final class ImageDownloaderTestCase: BaseTestCase { // Given let downloader = ImageDownloader() - let imageEndpoints: [Endpoint] = ["5a105e8b9d40e1329780d62ea2265d8a", - "6a105e8b9d40e1329780d62ea2265d8a", - "7a105e8b9d40e1329780d62ea2265d8a", - "8a105e8b9d40e1329780d62ea2265d8a", - "9a105e8b9d40e1329780d62ea2265d8a"].map(Endpoint.gravatar) + let imageEndpoints: [Endpoint] = [.image(.png), .image(.jpeg), .image(.jp2), .image(.gif), .image(.bmp)] var initialResults: [AFIResult] = [] var finalResults: [AFIResult] = []