diff --git a/StreamVideoTests/Utils/AudioSession/StreamRTCAudioSession_Tests.swift b/StreamVideoTests/Utils/AudioSession/StreamRTCAudioSession_Tests.swift index 3d71c044e..b871b30c2 100644 --- a/StreamVideoTests/Utils/AudioSession/StreamRTCAudioSession_Tests.swift +++ b/StreamVideoTests/Utils/AudioSession/StreamRTCAudioSession_Tests.swift @@ -40,7 +40,8 @@ final class StreamRTCAudioSession_Tests: XCTestCase { // MARK: - currentRoute func test_currentRoute_returnsCorrectRoute() { - XCTAssertEqual(subject.currentRoute, rtcAudioSession.currentRoute) + XCTAssertEqual(subject.currentRoute.inputs.map(\.portType), rtcAudioSession.currentRoute.inputs.map(\.portType)) + XCTAssertEqual(subject.currentRoute.outputs.map(\.portType), rtcAudioSession.currentRoute.outputs.map(\.portType)) } // MARK: - category