diff --git a/Tests/NukeExtensionsTests/ImageViewIntegrationTests.swift b/Tests/NukeExtensionsTests/ImageViewIntegrationTests.swift index d965997f2..72d50b287 100644 --- a/Tests/NukeExtensionsTests/ImageViewIntegrationTests.swift +++ b/Tests/NukeExtensionsTests/ImageViewIntegrationTests.swift @@ -70,7 +70,7 @@ class ImageViewIntegrationTests: XCTestCase { func testLoadImageWithInvalidURLString() { // WHEN let expectation = self.expectation(description: "Image loaded") - NukeExtensions.loadImage(with: URL(string: "http://example.com/invalid url"), into: imageView) { result in + NukeExtensions.loadImage(with: URL(string: ""), into: imageView) { result in XCTAssertEqual(result.error, .imageRequestMissing) expectation.fulfill() }