diff --git a/pillarbox-core-business/src/test/java/ch/srgssr/pillarbox/core/business/PillarboxTestPlayer.kt b/pillarbox-core-business/src/test/java/ch/srgssr/pillarbox/core/business/PillarboxTestPlayer.kt index d338f0c47..dcb7e652a 100644 --- a/pillarbox-core-business/src/test/java/ch/srgssr/pillarbox/core/business/PillarboxTestPlayer.kt +++ b/pillarbox-core-business/src/test/java/ch/srgssr/pillarbox/core/business/PillarboxTestPlayer.kt @@ -26,6 +26,7 @@ fun PillarboxExoPlayer(context: Context = ApplicationProvider.getApplicationCont loadControl(DefaultLoadControl()) clock(FakeClock(true)) coroutineContext(EmptyCoroutineContext) + disableMonitoring() block() }.apply { // FIXME Investigate why we need to disable the image track in tests