diff --git a/test/integration/email-dao-test.js b/test/integration/email-dao-test.js index a4bf7dc..bc3053e 100644 --- a/test/integration/email-dao-test.js +++ b/test/integration/email-dao-test.js @@ -809,7 +809,7 @@ define(function(require) { expect(/^Content-Type: multipart\/mixed/.test(mail.body)).to.be.false; 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({