Skip to content

Commit

Permalink
added shodowmediaplayer resetStaticState
Browse files Browse the repository at this point in the history
  • Loading branch information
subhajitxyz committed Nov 11, 2024
1 parent 31c5db1 commit 8706dff
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ import java.io.IOException
import java.util.concurrent.TimeoutException
import javax.inject.Inject
import javax.inject.Singleton
import org.robolectric.shadows.ShadowMediaPlayer

/** Tests for [StateFragment]. */
@RunWith(AndroidJUnit4::class)
Expand Down Expand Up @@ -224,6 +225,7 @@ class StateFragmentTest {

@After
fun tearDown() {
ShadowMediaPlayer.resetStaticState()
testCoroutineDispatchers.unregisterIdlingResource()
Intents.release()
}
Expand Down

0 comments on commit 8706dff

Please sign in to comment.