mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Periphery cleanup (#5893)
This commit is contained in:
@@ -15,10 +15,6 @@ import Testing
|
||||
struct MediaPlayerProviderTests {
|
||||
private var mediaPlayerProvider: MediaPlayerProvider
|
||||
|
||||
private let oggMimeType = "audio/ogg"
|
||||
private let someURL = URL.mockMXCAudio
|
||||
private let someOtherURL = URL.mockMXCFile
|
||||
|
||||
init() async {
|
||||
mediaPlayerProvider = MediaPlayerProvider()
|
||||
}
|
||||
@@ -41,7 +37,6 @@ struct MediaPlayerProviderTests {
|
||||
func detachAllStates() {
|
||||
let audioPlayer = AudioPlayerMock()
|
||||
audioPlayer.actions = PassthroughSubject<AudioPlayerAction, Never>().eraseToAnyPublisher()
|
||||
audioPlayer.playbackSpeed = 1.0
|
||||
|
||||
let audioPlayerStates = Array(repeating: AudioPlayerState(id: .timelineItemIdentifier(.randomEvent), title: "", duration: 0), count: 10)
|
||||
for audioPlayerState in audioPlayerStates {
|
||||
@@ -62,7 +57,6 @@ struct MediaPlayerProviderTests {
|
||||
func detachAllStatesWithException() {
|
||||
let audioPlayer = AudioPlayerMock()
|
||||
audioPlayer.actions = PassthroughSubject<AudioPlayerAction, Never>().eraseToAnyPublisher()
|
||||
audioPlayer.playbackSpeed = 1.0
|
||||
|
||||
let audioPlayerStates = Array(repeating: AudioPlayerState(id: .timelineItemIdentifier(.randomEvent), title: "", duration: 0), count: 10)
|
||||
for audioPlayerState in audioPlayerStates {
|
||||
|
||||
Reference in New Issue
Block a user