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

Commit 480053e0 authored by tomhsu's avatar tomhsu Committed by Tom Hsu
Browse files

fix failed of PrimarySimRepositoryTest#getPrimarySimInfo_verifySmsList

 - config_sms_ask_every_time_support was changed from true to false, so cause this test failed.

Flag: EXEMPT bug fix
Fix: b/382189034
Test: atest pass
Change-Id: Ia7ae0812f2b417bd8350d09417547dfc474397a0
parent 84571f53
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -101,6 +101,16 @@ class PrimarySimRepositoryTest {
            SUB_INFO_1,
            SUB_INFO_2
        )

        context.stub {
            on { resources } doReturn spyResources
        }
        spyResources.stub {
            on {
                getBoolean(com.android.internal.R.bool.config_sms_ask_every_time_support)
            } doReturn true
        }

        val expectedList = listOf(
            ListPreferenceOption(
                id = SUB_INFO_1.subscriptionId,