From 7cfba0e1763d8f7fb0ddf44deb5de7eaec21480e Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 8 Feb 2019 11:22:15 -0800 Subject: [PATCH] Fix notification tests --- src/test/notifications-test.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/test/notifications-test.js b/src/test/notifications-test.js index cec41e200..e01c87e26 100644 --- a/src/test/notifications-test.js +++ b/src/test/notifications-test.js @@ -66,16 +66,6 @@ describe('Notifications', function () { var notificationId; - it('add fails with unknown event', function (done) { - notifications.add(USER_0.id, 'eventunknown', 'title', 'message text', '/actionurl', function (error, result) { - expect(error).to.be.an('object'); - expect(error.reason).to.equal(NotificationsError.NOT_FOUND); - expect(result).not.to.be.ok(); - - done(); - }); - }); - it('add succeeds', function (done) { notifications.add(USER_0.id, EVENT_0.id, 'title', 'message text', '/actionurl', function (error, result) { expect(error).to.eql(null);