diff --git a/pillarbox-core-business/src/androidTest/java/ch/srgssr/pillarbox/core/business/LocalMediaCompositionDataSource.kt b/pillarbox-core-business/src/androidTest/java/ch/srgssr/pillarbox/core/business/LocalMediaCompositionDataSource.kt index f1b8606de..295da0827 100644 --- a/pillarbox-core-business/src/androidTest/java/ch/srgssr/pillarbox/core/business/LocalMediaCompositionDataSource.kt +++ b/pillarbox-core-business/src/androidTest/java/ch/srgssr/pillarbox/core/business/LocalMediaCompositionDataSource.kt @@ -15,8 +15,8 @@ class LocalMediaCompositionDataSource(context: Context) : MediaCompositionDataSo init { val jsonSerializer = Json { ignoreUnknownKeys = true } val json = context.assets.open("media-compositions.json").bufferedReader().use { it.readText() } - val listMediaComposition : List = jsonSerializer.decodeFromString(json) - for(mediaComposition in listMediaComposition){ + val listMediaComposition: List = jsonSerializer.decodeFromString(json) + for (mediaComposition in listMediaComposition) { localData[mediaComposition.mainChapter.urn] = mediaComposition } }