1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 02:42:17 -05:00

fix email dao unit test

This commit is contained in:
Tankred Hase 2013-08-22 20:18:52 +02:00
parent 5ad681e58d
commit 1fe7c3ce82

View File

@ -256,7 +256,7 @@ define(function(require) {
expect(newImapClientStub.getMessage.calledOnce).to.be.true; expect(newImapClientStub.getMessage.calledOnce).to.be.true;
expect(err).to.not.exist; expect(err).to.not.exist;
expect(message.uid).to.equal(uid); expect(message.uid).to.equal(uid);
expect(message.attachments[0].base64).to.exist; expect(message.attachments[0].uint8Array).to.exist;
emailDao._imapClient = imapClientStub; emailDao._imapClient = imapClientStub;
done(); done();
}); });