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

Unverified Commit c01923b2 authored by Danny Baumann's avatar Danny Baumann Committed by Adrian DC
Browse files

Adapt test to API changes.

Commit 1d0ca65e updated the actual
sources, but missed updating the test. Fix that.

RM-290

Change-Id: I2424d2364bee197673a2baf004bc13933263d845
parent 45668069
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -354,7 +354,8 @@ public class ComponentContextFixture implements TestFixture<Context> {
            }
        }).when(mAppOpsManager).checkPackage(anyInt(), anyString());

        when(mNotificationManager.matchesCallFilter(any(Bundle.class))).thenReturn(true);
        when(mNotificationManager.matchesCallFilter(any(Bundle.class)))
                .thenReturn(new boolean[] { true, true });

        when(mUserManager.getSerialNumberForUser(any(UserHandle.class))).thenReturn(-1L);
    }