From b668cccd7f31fa7ff5126b2eb63c5f182f0267d2 Mon Sep 17 00:00:00 2001 From: Carl Vuorinen Date: Tue, 30 Apr 2019 08:34:00 +0300 Subject: [PATCH] Fix PopupNotificationsManagerTest --- .../habitica/helpers/PopupNotificationsManagerTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);