@@ -39,7 +39,7 @@ class AnimatedImageTests: XCTestCase {
39
39
let imageName = " TestImage.gif "
40
40
let imageView = AnimatedImage ( name: imageName, bundle: TestUtils . testImageBundle ( ) )
41
41
ViewHosting . host ( view: imageView)
42
- let animatedImageView = try imageView. inspect ( ) . actualView ( ) . platformView ( ) . wrapped
42
+ let animatedImageView = try imageView. inspect ( ) . actualView ( ) . platformView ( )
43
43
if let animatedImage = animatedImageView. image as? SDAnimatedImage {
44
44
XCTAssertEqual ( animatedImage. animatedImageLoopCount, 0 )
45
45
XCTAssertEqual ( animatedImage. animatedImageFrameCount, 5 )
@@ -56,7 +56,7 @@ class AnimatedImageTests: XCTestCase {
56
56
let imageData = try XCTUnwrap ( TestUtils . testImageData ( name: " TestLoopCount.gif " ) )
57
57
let imageView = AnimatedImage ( data: imageData)
58
58
ViewHosting . host ( view: imageView)
59
- let animatedImageView = try imageView. inspect ( ) . actualView ( ) . platformView ( ) . wrapped
59
+ let animatedImageView = try imageView. inspect ( ) . actualView ( ) . platformView ( )
60
60
if let animatedImage = animatedImageView. image as? SDAnimatedImage {
61
61
XCTAssertEqual ( animatedImage. animatedImageLoopCount, 1 )
62
62
XCTAssertEqual ( animatedImage. animatedImageFrameCount, 2 )
@@ -85,7 +85,7 @@ class AnimatedImageTests: XCTestCase {
85
85
XCTFail ( error. localizedDescription)
86
86
}
87
87
ViewHosting . host ( view: imageView)
88
- let animatedImageView = try imageView. inspect ( ) . actualView ( ) . platformView ( ) . wrapped
88
+ let animatedImageView = try imageView. inspect ( ) . actualView ( ) . platformView ( )
89
89
XCTAssertEqual ( animatedImageView. sd_imageURL, imageUrl)
90
90
self . waitForExpectations ( timeout: 10 , handler: nil )
91
91
ViewHosting . expel ( )
0 commit comments