From b7d37739c3f7cf195c73f05bf5e1dd56dfed293e Mon Sep 17 00:00:00 2001 From: Franco Driansetti <7194678+francodriansetti@users.noreply.github.com> Date: Fri, 1 Mar 2024 13:32:52 +0100 Subject: [PATCH] Updated testLoadPlayer test --- Tests/PlaybackSDKTests/PlayBackSDKManagerTests.swift.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }