Commit 7cc59b9e authored by JC Brand's avatar JC Brand

Check in test that headliness box is not created.

Updates #1221
parent 23e9c48e
......@@ -327,7 +327,7 @@
it("updates device lists based on PEP messages",
mock.initConverseWithPromises(
null, ['rosterGroupsFetched'], {},
null, ['rosterGroupsFetched'], {'allow_non_roster_messaging': true},
function (done, _converse) {
test_utils.createContacts(_converse, 'current', 1);
......@@ -356,6 +356,7 @@
_converse.connection._dataRecv(test_utils.createRequest(stanza));
return test_utils.waitUntil(() => _converse.omemo_store);
}).then(() => {
expect(_converse.chatboxes.length).toBe(1);
expect(_converse.devicelists.length).toBe(1);
const devicelist = _converse.devicelists.get(_converse.bare_jid);
expect(devicelist.devices.length).toBe(2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment