Index: test/Notification.cpp |
diff --git a/test/Notification.cpp b/test/Notification.cpp |
index 148bf11c3ea28956e23bc1c378ae5f77fc611a5f..84898576190c38ab1ed7220f249593d31f1561cc 100644 |
--- a/test/Notification.cpp |
+++ b/test/Notification.cpp |
@@ -125,8 +125,8 @@ namespace |
isNotificationCallbackCalled = true; |
ASSERT_TRUE(notification); |
EXPECT_EQ(NotificationType::NOTIFICATION_TYPE_INFORMATION, notification->GetType()); |
- EXPECT_EQ("Title", notification->GetTitle()); |
- EXPECT_EQ("message", notification->GetMessageString()); |
+ EXPECT_EQ("Title", notification->GetTexts().title); |
+ EXPECT_EQ("message", notification->GetTexts().message); |
notification->MarkAsShown(); |
} |
}; |
@@ -156,8 +156,8 @@ TEST_F(NotificationTest, AddNotification) |
NotificationPtr notification = PeekNotification(); |
ASSERT_TRUE(notification); |
EXPECT_EQ(NotificationType::NOTIFICATION_TYPE_CRITICAL, notification->GetType()); |
- EXPECT_EQ("testTitle", notification->GetTitle()); |
- EXPECT_EQ("testMessage", notification->GetMessageString()); |
+ EXPECT_EQ("testTitle", notification->GetTexts().title); |
+ EXPECT_EQ("testMessage", notification->GetTexts().message); |
} |
TEST_F(NotificationTest, FilterByUrl) |