mirror of
https://github.com/moparisthebest/mail
synced 2024-12-22 23:38:48 -05:00
[WO-554] Fix tests
This commit is contained in:
parent
30632205ce
commit
c75e365c65
@ -809,7 +809,7 @@ define(function(require) {
|
|||||||
|
|
||||||
expect(/^Content-Type: multipart\/mixed/.test(mail.body)).to.be.false;
|
expect(/^Content-Type: multipart\/mixed/.test(mail.body)).to.be.false;
|
||||||
expect(/^Content-Type: multipart\/encrypted/.test(mail.body)).to.be.true;
|
expect(/^Content-Type: multipart\/encrypted/.test(mail.body)).to.be.true;
|
||||||
expect(mail.body).to.contain('LS0tLS1CRUdJTiBQR1AgTUVTU0FHRS0tLS0tDQpWZXJzaW9uOiBPcGVuUEdQLmpzIHYwLjcuMg0K'); // one line of the ciphertext
|
expect(mail.body).to.contain('-----BEGIN PGP MESSAGE-----');
|
||||||
});
|
});
|
||||||
|
|
||||||
emailDao.sendEncrypted({
|
emailDao.sendEncrypted({
|
||||||
|
Loading…
Reference in New Issue
Block a user