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 Oct 1, 2024
1 parent b8d03b0 commit 6d146cd
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,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 @@ -291,7 +293,7 @@ internal class ExoPlayerPlaybackEngineTest {
}

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

verify(initialExtendedExoPlayer, never())
Expand Down

0 comments on commit 6d146cd

Please sign in to comment.