diff --git a/src/Tests/Tests.Groups.ts b/src/Tests/Tests.Groups.ts index 9139cfa..aa45779 100644 --- a/src/Tests/Tests.Groups.ts +++ b/src/Tests/Tests.Groups.ts @@ -61,9 +61,9 @@ WAConnectionTest('Groups', (conn) => { it('should update the subject', async () => { const subject = 'Baileyz ' + Math.floor(Math.random()*5) const waitForEvent = new Promise (resolve => { - conn.on ('chat-update', ({jid, title}) => { + conn.on ('chat-update', ({jid, name}) => { if (jid === gid) { - assert.equal (title, subject) + assert.equal (name, subject) resolve () } })