From 2dd8158e03e5fba85aaec85b09da2af078ce20fc Mon Sep 17 00:00:00 2001 From: Jamorham Date: Sun, 15 Sep 2024 11:49:30 +0000 Subject: [PATCH] NotificationChannelsTest: fix library change issue --- .../dexdrip/utilitymodels/NotificationChannelsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/test/java/com/eveningoutpost/dexdrip/utilitymodels/NotificationChannelsTest.java b/app/src/test/java/com/eveningoutpost/dexdrip/utilitymodels/NotificationChannelsTest.java index 160fb707e8..27dfaa003f 100644 --- a/app/src/test/java/com/eveningoutpost/dexdrip/utilitymodels/NotificationChannelsTest.java +++ b/app/src/test/java/com/eveningoutpost/dexdrip/utilitymodels/NotificationChannelsTest.java @@ -18,7 +18,7 @@ public class NotificationChannelsTest extends RobolectricTestWithConfig { @Test public void getNotificationFromInsideBuilderTest() { - val builder = new NotificationCompat.Builder(RuntimeEnvironment.getApplication().getApplicationContext(), null); + val builder = new NotificationCompat.Builder(RuntimeEnvironment.getApplication().getApplicationContext(), (String)null); builder.setVibrate(pattern); val mNotification = NotificationChannels.getNotificationFromInsideBuilder(builder); assertWithMessage("got builder by reflection 1").that(mNotification).isNotNull();