Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fixed test

Michael Rademaker7b50a7c1037f
diff --git a/test/src/test/groovy/org/openremote/test/notification/NotificationTest.groovy b/test/src/test/groovy/org/openremote/test/notification/NotificationTest.groovy
index 27b32874e..2faead62a 100644
--- a/test/src/test/groovy/org/openremote/test/notification/NotificationTest.groovy
+++ b/test/src/test/groovy/org/openremote/test/notification/NotificationTest.groovy
@@ -362,7 +362,7 @@ class NotificationTest extends Specification implements ManagerContainerTrait {
then: "the notification should have been updated"
assert notifications.size() == 16
- assert notifications.count {n -> n.targetId == testuser3Console1.id && n.deliveredOn != null} == 2
+ assert notifications.count {n -> n.targetId == testuser3Console1.id && n.deliveredOn != null} == 1
// TODO: Update once console permissions model finalised
// when: "an anonymous user marks a console notification from another console as delivered"