Delete redundant test

This commit is contained in:
Tankred Hase 2017-08-22 15:29:18 +08:00
parent fe55578268
commit 5b86a77338

View File

@ -143,13 +143,6 @@ describe('Public Key Integration Tests', function() {
const r = await publicKey._purgeOldUnverified(); const r = await publicKey._purgeOldUnverified();
expect(r.deletedCount).to.equal(1); expect(r.deletedCount).to.equal(1);
}); });
it('should not remove a verified key with no uploaded attribute', async () => {
key.userIds[0].verified = true;
await publicKey._persisKey(key);
const r = await publicKey._purgeOldUnverified();
expect(r.deletedCount).to.equal(0);
});
}); });
describe('verify', () => { describe('verify', () => {