diff --git a/Tests/PlaybackSDKTests/PlayBackSDKManagerTests.swift.swift b/Tests/PlaybackSDKTests/PlayBackSDKManagerTests.swift.swift index ac1fb07..717a3ff 100644 --- a/Tests/PlaybackSDKTests/PlayBackSDKManagerTests.swift.swift +++ b/Tests/PlaybackSDKTests/PlayBackSDKManagerTests.swift.swift @@ -96,7 +96,7 @@ class PlayBackSDKManagerTests: XCTestCase { } func testLoadPlayer() { - let playerView = manager.loadPlayer(entryID: "exampleEntryID", authorizationToken: "exampleToken", onError: nil) + let playerView = manager.loadPlayer(entryID: "exampleEntryID", authorizationToken: "exampleToken", onError: { _ in }) // Assert that playerView is not nil or do further UI testing if possible XCTAssertNotNil(playerView) }