mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Remove out of date test
This test is out of date with respect to the latest signed key rotation rules implemented inb92dd45and536dd7b. Previously we would only keep the last two signed keys, but now we keep at least three as well as requiring a minimum retention period. As a result, this test should be failing, but we haven't noticed because it's not using the `done` parameter to signal its asynchronous nature. // FREEBIE
This commit is contained in:
@@ -163,10 +163,5 @@ describe("Key generation", function() {
|
||||
assert.instanceOf(result.signedPreKey.signature, ArrayBuffer);
|
||||
validateResultSignedKey(result.signedPreKey).then(done,done);
|
||||
});
|
||||
it('deletes signed key 1', function() {
|
||||
textsecure.storage.protocol.loadSignedPreKey(1).then(function(keyPair) {
|
||||
assert.isUndefined(keyPair);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user