Ver Fonte

Fix failing test

JC Brand há 4 anos atrás
pai
commit
2f244da8b1
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      spec/mam.js

+ 5 - 1
spec/mam.js

@@ -83,7 +83,11 @@ describe("Message Archive Management", function () {
         }));
 
         it("is queried when the user enters a new MUC",
-                mock.initConverse(['discoInitialized'], {'archived_messages_page_size': 2}, async function (done, _converse) {
+            mock.initConverse(['discoInitialized'],
+                {
+                    'archived_messages_page_size': 2,
+                    'muc_clear_messages_on_leave': false,
+                }, async function (done, _converse) {
 
             const sent_IQs = _converse.connection.IQ_stanzas;
             const muc_jid = 'orchard@chat.shakespeare.lit';