Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5815fc0 authored by andrewxu's avatar andrewxu
Browse files

Fix EditModeSceneTest

Got the error "Fixture usingMediaInComposeFragment has no default".
Therefore, this CL sets the value of usingMediaInComposeFragment.

Bug: 425941644
Flag: EXEMPT bug_fix
Change-Id: I4f51e0c147233212c53f4f7328ce12f62c55ff01
parent 1fe9342f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import com.android.compose.animation.scene.TestContentScope
import com.android.compose.theme.PlatformTheme
import com.android.systemui.SysuiTestCase
import com.android.systemui.flags.EnableSceneContainer
import com.android.systemui.qs.composefragment.dagger.usingMediaInComposeFragment
import com.android.systemui.qs.ui.composable.EditModeScene
import com.android.systemui.qs.ui.viewmodel.editModeSceneActionsViewModelFactory
import com.android.systemui.qs.ui.viewmodel.editModeSceneContentViewModelFactory
@@ -47,6 +48,8 @@ class EditModeSceneTest : SysuiTestCase() {

    @Test
    fun testViewHierarchy() {
        kosmos.usingMediaInComposeFragment = true

        val scene = EditModeScene(
            kosmos.editModeSceneContentViewModelFactory,
            kosmos.editModeSceneActionsViewModelFactory,