diff options
author | Patrick Brunschwig <[email protected]> | 2021-07-18 17:17:08 +0200 |
---|---|---|
committer | Patrick Brunschwig <[email protected]> | 2021-07-18 17:17:08 +0200 |
commit | 2d68dbaa205d8f21b690d22db07148f31e7fcd99 (patch) | |
tree | 0f5d28fe8c1b1bba1a9b416ba0104f832dd9da23 | |
parent | f768162059d0ca96c98986caefdce5ce7141dc99 (diff) | |
download | enigmail-2d68dbaa205d8f21b690d22db07148f31e7fcd99.tar.gz enigmail-2d68dbaa205d8f21b690d22db07148f31e7fcd99.tar.bz2 enigmail-2d68dbaa205d8f21b690d22db07148f31e7fcd99.zip |
fixed wrong test cases
-rw-r--r-- | package/tests/openpgpjs-test.js | 2 | ||||
-rw-r--r-- | package/tests/pgpjs-keystore-test.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/tests/openpgpjs-test.js b/package/tests/openpgpjs-test.js index 05febd23..b55d9184 100644 --- a/package/tests/openpgpjs-test.js +++ b/package/tests/openpgpjs-test.js @@ -238,7 +238,7 @@ test(withTestGpgHome(withEnigmail(asyncTest(async function testKeyGen() { Assert.equal(keyList.length, 1); keyObj = keyList[0]; - Assert.equal(keyObj.keyTrust, "e"); + Assert.equal(keyObj.keyTrust, "u"); Assert.equal(keyObj.userId, "Test User 2 <[email protected]>"); Assert.equal(keyObj.algoSym, "RSA"); Assert.equal(keyObj.subKeys.length, 1); diff --git a/package/tests/pgpjs-keystore-test.js b/package/tests/pgpjs-keystore-test.js index a7764df7..be681ecc 100644 --- a/package/tests/pgpjs-keystore-test.js +++ b/package/tests/pgpjs-keystore-test.js @@ -96,10 +96,10 @@ test(withTestGpgHome(asyncTest(async function readWrite() { Assert.equal(keyObj.keyCreated, 1430756251, "keyCreated"); Assert.equal(keyObj.created, EnigmailTime.getDateTime(1430756251, true, false), "created"); Assert.equal(keyObj.type, "pub", "type"); - Assert.equal(keyObj.keyTrust, "e", "keyTrust"); + Assert.equal(keyObj.keyTrust, "f", "keyTrust"); Assert.equal(keyObj.expiryTime, 0, "expiryTime"); Assert.equal(keyObj.ownerTrust, "f", "ownerTrust"); - Assert.equal(keyObj.keyUseFor, "cse", "keyUseFor"); + Assert.equal(keyObj.keyUseFor, "cCsSe", "keyUseFor"); Assert.equal(keyObj.algoSym, "RSA", "algoSym"); Assert.equal(keyObj.keySize, 4096, "keySize"); Assert.equal(keyObj.photoAvailable, false, "photoAvailable"); |