diff --git a/Habitica/src/test/java/com/habitrpg/android/habitica/helpers/PopupNotificationsManagerTest.java b/Habitica/src/test/java/com/habitrpg/android/habitica/helpers/PopupNotificationsManagerTest.java index 55e8d88de..7cf13b0cd 100644 --- a/Habitica/src/test/java/com/habitrpg/android/habitica/helpers/PopupNotificationsManagerTest.java +++ b/Habitica/src/test/java/com/habitrpg/android/habitica/helpers/PopupNotificationsManagerTest.java @@ -83,11 +83,11 @@ public class PopupNotificationsManagerTest { List notifications = new ArrayList<>(); LoginIncentiveData notificationData = new LoginIncentiveData(); - notificationData.message = testTitle; + notificationData.setMessage(testTitle); Notification notification = new Notification(); notification.setType("LOGIN_INCENTIVE"); - notification.data = notificationData; + notification.setData(notificationData); notifications.add(notification); @@ -107,11 +107,11 @@ public class PopupNotificationsManagerTest { List notifications = new ArrayList<>(); LoginIncentiveData notificationData = new LoginIncentiveData(); - notificationData.message = testTitle; + notificationData.setMessage(testTitle); Notification notification = new Notification(); notification.setType("LOGIN_INCENTIVE"); - notification.data = notificationData; + notification.setData(notificationData); notifications.add(notification); notifications.add(notification);