Skip to content

Commit

Permalink
Merge pull request #768 from woxtu/patch
Browse files Browse the repository at this point in the history
Fix image loading test
  • Loading branch information
kean authored Mar 9, 2024
2 parents 8294b44 + ebb7c19 commit d658f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/NukeExtensionsTests/ImageViewIntegrationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit d658f30

Please sign in to comment.