Skip to content

Commit

Permalink
NotificationChannelsTest: fix library change issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Sep 15, 2024
1 parent 0710d82 commit 2dd8158
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2dd8158

Please sign in to comment.