Removing Dead Code part 1 (#2234)

This commit is contained in:
Mauro
2023-12-13 09:51:57 +01:00
committed by GitHub
parent 52b8cdad75
commit 84b0f967e8
88 changed files with 115 additions and 477 deletions

View File

@@ -31,9 +31,6 @@ class AudioPlayerStateTests: XCTestCase {
}
private var audioPlayerSeekCallsSubject: PassthroughSubject<Double, Never>!
private var audioPlayerSeekCalls: AnyPublisher<Double, Never> {
audioPlayerSeekCallsSubject.eraseToAnyPublisher()
}
private func buildAudioPlayerMock() -> AudioPlayerMock {
let audioPlayerMock = AudioPlayerMock()
@@ -115,7 +112,7 @@ class AudioPlayerStateTests: XCTestCase {
func testReportError() async throws {
XCTAssertEqual(audioPlayerState.playbackState, .stopped)
audioPlayerState.reportError(AudioPlayerError.genericError)
audioPlayerState.reportError()
XCTAssertEqual(audioPlayerState.playbackState, .error)
}