fixed test for error when adding self to chat

v1.18.x
Julian Lam 7 years ago
parent 3de54a5488
commit c47987b305

@ -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();
});
});

Loading…
Cancel
Save