Update the test case

This commit is contained in:
DreamPiggy 2021-02-22 19:41:54 +08:00
parent 66ca5fbb83
commit 7f8a06588f
1 changed files with 0 additions and 2 deletions

View File

@ -46,7 +46,6 @@ class AnimatedImageTests: XCTestCase {
} else { } else {
XCTFail("SDAnimatedImageView.image invalid") XCTFail("SDAnimatedImageView.image invalid")
} }
XCTAssertEqual(animatedImageView.sd_imageName, imageName)
expectation.fulfill() expectation.fulfill()
self.waitForExpectations(timeout: 5, handler: nil) self.waitForExpectations(timeout: 5, handler: nil)
ViewHosting.expel() ViewHosting.expel()
@ -64,7 +63,6 @@ class AnimatedImageTests: XCTestCase {
} else { } else {
XCTFail("SDAnimatedImageView.image invalid") XCTFail("SDAnimatedImageView.image invalid")
} }
XCTAssertEqual(animatedImageView.sd_imageData, imageData)
expectation.fulfill() expectation.fulfill()
self.waitForExpectations(timeout: 5, handler: nil) self.waitForExpectations(timeout: 5, handler: nil)
ViewHosting.expel() ViewHosting.expel()