Skip to content

StreamVault is a TV-first free IPTV player for Android TV built with Kotlin, Jetpack Compose, Room, Hilt, and Media3.

fix: Remove duplicate m3uClassificationRepository from HomeViewModelTest

David Nashash6dd5103c8114
diff --git a/app/src/test/java/com/streamvault/app/ui/screens/home/HomeViewModelTest.kt b/app/src/test/java/com/streamvault/app/ui/screens/home/HomeViewModelTest.kt
index 8bb86f0b..6db7065d 100644
--- a/app/src/test/java/com/streamvault/app/ui/screens/home/HomeViewModelTest.kt
+++ b/app/src/test/java/com/streamvault/app/ui/screens/home/HomeViewModelTest.kt
@@ -52,7 +52,6 @@ class HomeViewModelTest {
private val preferencesRepository: PreferencesRepository = mock()
private val epgRepository: EpgRepository = mock()
private val playbackHistoryRepository: PlaybackHistoryRepository = mock()
- private val m3uClassificationRepository: M3uClassificationRepository = mock()
private val getCustomCategories: GetCustomCategories = mock()
private val unlockParentalCategory: UnlockParentalCategory = mock()
private val parentalControlManager: ParentalControlManager = mock()
@@ -140,7 +139,6 @@ class HomeViewModelTest {
preferencesRepository = preferencesRepository,
epgRepository = epgRepository,
playbackHistoryRepository = playbackHistoryRepository,
- m3uClassificationRepository = m3uClassificationRepository,
getCustomCategories = getCustomCategories,
unlockParentalCategory = unlockParentalCategory,
parentalControlManager = parentalControlManager,
diff --git a/docs/COMPOSE_REDUCTION_AND_UI_ARCHITECTURE_PLAN.md b/docs/COMPOSE_REDUCTION_AND_UI_ARCHITECTURE_PLAN.md
index 5002004d..de2116e4 100644
--- a/docs/COMPOSE_REDUCTION_AND_UI_ARCHITECTURE_PLAN.md
+++ b/docs/COMPOSE_REDUCTION_AND_UI_ARCHITECTURE_PLAN.md
@@ -19,7 +19,7 @@ The AppNavigation split is now complete for Phase 1: startup resolution, route/r
The review follow-up also closed player input freshness regressions: input and Back decisions now build their snapshots at event time, including the ViewModel-backed numeric-channel buffer, with regression tests covering digit-entry updates followed by immediate confirmation or Back. Focused player, provider, and navigation unit tests pass. Long-duration live playback and manual TV smoke checks remain required Phase 1 gates whenever the environment is available; this workspace currently has no `adb` executable/device, so those gates remain explicitly unvalidated.
-This branch was synchronized with the current local `develop` in merge commit `c2a2658f`. The merge was conflict-free and included the `1.0.18` changelog, grouped VOD performance/pagination work, dashboard shelf updates, orientation handling, and data-maintenance changes; none overlapped the Phase 1 extraction boundaries, so no compatibility code changes were required. The merged tree passes `:app:testDebugUnitTest` and `:app:assembleDebug`. `:data:testDebugUnitTest` runs 1,038 tests but retains the pre-existing `ProviderExecutionArchitectureTest` failure at `data/src/test/java/com/streamvault/data/provider/ProviderExecutionArchitectureTest.kt:276` (expected dependency budget 40, actual 42); `SyncManager` was not part of the merge.
+This branch was synchronized with the current local `develop` in merge commit `c2a2658f`, and synchronized again after `develop` advanced in merge commit `6e85d5c7` from local `develop` `5294fbd5`. Both merges were conflict-free. The second merge brought the backup/restore ledger, database migration, TV-input synchronization, and related settings/data changes. No production compatibility changes were needed for the Phase 1 extraction; the only adaptation was removing a duplicate `m3uClassificationRepository` field and constructor argument from `HomeViewModelTest` created by overlapping test-fixture changes. The merged tree passes `:app:testDebugUnitTest`, the focused backup/sync data tests, and `:app:assembleDebug`. The full `:data:testDebugUnitTest` suite runs 1,060 tests but retains the `ProviderExecutionArchitectureTest` failure at `data/src/test/java/com/streamvault/data/provider/ProviderExecutionArchitectureTest.kt:276` (expected dependency budget 40, actual 42).
## 1. Executive summary