Explorar o código

Fix failing test

JC Brand %!s(int64=6) %!d(string=hai) anos
pai
achega
eeab6e4fca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      spec/messages.js

+ 1 - 1
spec/messages.js

@@ -2958,7 +2958,7 @@
                                 `<reference begin="11" end="17" type="mention" uri="xmpp:gibson@montague.lit" xmlns="urn:xmpp:reference:0"/>`+
                                 `<reference begin="18" end="27" type="mention" uri="xmpp:sw0rdf1sh@montague.lit" xmlns="urn:xmpp:reference:0"/>`+
                                 `<replace id="${msg.nodeTree.getAttribute("id")}" xmlns="urn:xmpp:message-correct:0"/>`+
-                                `<origin-id id="${msg.nodeTree.querySelector('origin-id').getAttribute("id")}" xmlns="urn:xmpp:sid:0"/>`+
+                                `<origin-id id="${correction.nodeTree.querySelector('origin-id').getAttribute("id")}" xmlns="urn:xmpp:sid:0"/>`+
                             `</message>`);
                 done();
             }));