Index: content/browser/notifications/notification_database_data_unittest.cc |
diff --git a/content/browser/notifications/notification_database_data_unittest.cc b/content/browser/notifications/notification_database_data_unittest.cc |
index 4ece50d88aa9c14fbaa5cce4c682e83db4c1dbaa..e2bf7d4c08e682dac096dccea3ea070889e05fcc 100644 |
--- a/content/browser/notifications/notification_database_data_unittest.cc |
+++ b/content/browser/notifications/notification_database_data_unittest.cc |
@@ -43,6 +43,7 @@ TEST(NotificationDatabaseDataTest, SerializeAndDeserializeData) { |
notification_data.icon = GURL(kNotificationIconUrl); |
notification_data.vibration_pattern = vibration_pattern; |
notification_data.silent = true; |
+ notification_data.require_interaction = true; |
notification_data.data = developer_data; |
for (size_t i = 0; i < kPlatformNotificationMaxActions; i++) { |
PlatformNotificationAction notification_action; |
@@ -88,6 +89,8 @@ TEST(NotificationDatabaseDataTest, SerializeAndDeserializeData) { |
testing::ElementsAreArray(kNotificationVibrationPattern)); |
EXPECT_EQ(notification_data.silent, copied_notification_data.silent); |
+ EXPECT_EQ(notification_data.require_interaction, |
+ copied_notification_data.require_interaction); |
ASSERT_EQ(developer_data.size(), copied_notification_data.data.size()); |
for (size_t i = 0; i < developer_data.size(); ++i) |