diff --git a/src/test/java/com/blackduck/integration/blackduck/comprehensive/NotificationsTestIT.java b/src/test/java/com/blackduck/integration/blackduck/comprehensive/NotificationsTestIT.java index 16a1bb692..2ac580f87 100644 --- a/src/test/java/com/blackduck/integration/blackduck/comprehensive/NotificationsTestIT.java +++ b/src/test/java/com/blackduck/integration/blackduck/comprehensive/NotificationsTestIT.java @@ -70,7 +70,7 @@ public void testProjectNotifications() throws IntegrationException, InterruptedE NotificationEditor notificationEditor = new NotificationEditor(startDate, endDate, notificationTypes); List notifications = notificationService.getAllUserNotifications(currentUser, notificationEditor); for (NotificationUserView notificationUserView : notifications) { - if (notificationUserView instanceof ProjectNotificationUserView) { + if (notificationUserView instanceof ProjectVersionNotificationUserView) { ProjectVersionNotificationContent content = ((ProjectVersionNotificationUserView) notificationUserView).getContent(); if (projectName.equals(content.getProjectName())) { foundKeys.add(content.getOperationType() + content.getProjectVersionName());