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

Commit dfe6c07b authored by Alex Light's avatar Alex Light Committed by android-build-merger
Browse files

Merge "Correct illegal mockito usage." am: 5bb1e8c9 am: 79017145

am: 756d5ae2

Change-Id: Ibae90ae05b36129a34a358bb60ffd7ad23e3c4a4
parents e1219c73 756d5ae2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -70,7 +70,8 @@ public class ZenModeFilteringTest extends UiServiceTestCase {

    private NotificationRecord getNotificationRecord(NotificationChannel c) {
        StatusBarNotification sbn = mock(StatusBarNotification.class);
        when(sbn.getNotification()).thenReturn(mock(Notification.class));
        Notification notification = mock(Notification.class);
        when(sbn.getNotification()).thenReturn(notification);
        return new NotificationRecord(mContext, sbn, c);
    }