Fix failing test

This commit is contained in:
JC Brand 2019-04-22 21:07:05 +02:00
parent 5ead9796cc
commit ad8d4c90b3

View File

@ -25,7 +25,8 @@
}));
describe("with prebind", function () {
it("needs a jid when also using keepalive", mock.initConverse((done, _converse) => {
it("needs a jid when also using keepalive", mock.initConverse([], null, {'auto_login': false}, (done, _converse) => {
const authentication = _converse.authentication;
const jid = _converse.jid;
delete _converse.jid;