summary refs log tree commit diff
path: root/syweb/webclient/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'syweb/webclient/test/unit')
-rw-r--r--syweb/webclient/test/unit/recents-service.spec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/syweb/webclient/test/unit/recents-service.spec.js b/syweb/webclient/test/unit/recents-service.spec.js
index 6aba140ef5..93d351d45f 100644
--- a/syweb/webclient/test/unit/recents-service.spec.js
+++ b/syweb/webclient/test/unit/recents-service.spec.js
@@ -96,8 +96,9 @@ describe('RecentsService', function() {
         recentsService.markAsRead(testEvent.room_id);
         
         unread[testEvent.room_id] = 0;
+        bing[testEvent.room_id] = undefined;
         expect(recentsService.getUnreadMessages()).toEqual(unread);
-        expect(recentsService.getUnreadBingMessages()).toEqual({});
+        expect(recentsService.getUnreadBingMessages()).toEqual(bing);
     }));
     
     it('should not add messages as unread if they are not live.', inject(