From c47987b3054d42ffd45fbe11d5049cccae839898 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 12 Jan 2018 13:19:14 -0500 Subject: [PATCH] fixed test for error when adding self to chat --- test/messaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/messaging.js b/test/messaging.js index 11b1295d38..d343ac825a 100644 --- a/test/messaging.js +++ b/test/messaging.js @@ -156,7 +156,7 @@ describe('Messaging Library', function () { it('should fail to add self to room', function (done) { socketModules.chats.addUserToRoom({ uid: fooUid }, { roomId: roomId, username: 'foo' }, function (err) { - assert.equal(err.message, '[[error:cant-add-self-to-chat-room]]'); + assert.equal(err.message, '[[error:cant-chat-with-yourself]]'); done(); }); });