Skip to content

Commit

Permalink
MF-171: Fix return types
Browse files Browse the repository at this point in the history
This makes the IDE complain, which is annoying when looking at actual problems.
  • Loading branch information
stoyicker committed Aug 30, 2024
1 parent b5534b3 commit 21e39e6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ internal class ExoPlayerPlaybackEngineTest {
}

@Test
fun loadShouldSetCorrectPropertiesAndPreparePlayerWithCorrectMediaSource() = runBlocking {
fun loadShouldSetCorrectPropertiesAndPreparePlayerWithCorrectMediaSource() {
whenever(initialExtendedExoPlayer.load(any())) doReturn mediaSource

playbackEngine.load(forwardingMediaProduct.delegate)

assertThat(playbackEngine.mediaProduct).isEqualTo(forwardingMediaProduct.delegate)
Expand All @@ -287,7 +289,7 @@ internal class ExoPlayerPlaybackEngineTest {
}

@Test
fun nextShouldDoNothingIfPlaybackStateIsIdle() = runBlocking {
fun nextShouldDoNothingIfPlaybackStateIsIdle() {
playbackEngine.setNext(forwardingMediaProduct.delegate)

verify(initialExtendedExoPlayer, never())
Expand Down

0 comments on commit 21e39e6

Please sign in to comment.