mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 02:09:38 +02:00
Add some debug checks to test
This commit is contained in:
parent
2c0edf9588
commit
002fa71bb7
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ public class FixUserIdDoesNotBreakEncryptionCapabilityTest {
|
|||
KeyRingInfo before = PGPainless.inspectKeyRing(secretKeys);
|
||||
KeyRingInfo after = PGPainless.inspectKeyRing(modified);
|
||||
|
||||
assertEquals(userIdBefore, before.getPrimaryUserId());
|
||||
assertEquals(userIdAfter, after.getPrimaryUserId());
|
||||
assertTrue(after.isKeyValidlyBound(after.getKeyId()));
|
||||
assertTrue(before.isUsableForEncryption());
|
||||
assertTrue(before.isUsableForSigning());
|
||||
assertTrue(before.isUserIdValid(userIdBefore));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue