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

Commit ae97b108 authored by Steve Elliott's avatar Steve Elliott Committed by Android (Google) Code Review
Browse files

Merge "Fix important person notification ranking test" into rvc-dev

parents 26e24866 f9739a89
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ class NotificationRankingManagerTest : SysuiTestCase() {
                .setTag("tag")
                .setNotification(aN)
                .setChannel(NotificationChannel("test", "", IMPORTANCE_DEFAULT))
                .setUser(mContext.getUser())
                .setUser(mContext.user)
                .setOverrideGroupKey("")
                .build()
        whenever(personNotificationIdentifier.isImportantPeopleNotification(a.sbn, a.ranking))
@@ -226,12 +226,12 @@ class NotificationRankingManagerTest : SysuiTestCase() {
                .setTag("tag")
                .setNotification(bN)
                .setChannel(NotificationChannel("test", "", IMPORTANCE_DEFAULT))
                .setUser(mContext.getUser())
                .setUser(mContext.user)
                .setOverrideGroupKey("")
                .build()
        whenever(personNotificationIdentifier.isImportantPeopleNotification(a.sbn, a.ranking))
                .thenReturn(false)
        whenever(personNotificationIdentifier.isPeopleNotification(a.sbn, a.ranking))
        whenever(personNotificationIdentifier.isImportantPeopleNotification(b.sbn, b.ranking))
                .thenReturn(true)
        whenever(personNotificationIdentifier.isPeopleNotification(b.sbn, b.ranking))
                .thenReturn(true)

        assertEquals(