Control signed pre-key deletion via a dynamic configuration flag to facilitate migration

This commit is contained in:
Jon Chambers
2023-07-05 11:08:39 -04:00
committed by Jon Chambers
parent 4a91fc3c3d
commit b593d49399
4 changed files with 9 additions and 4 deletions

View File

@@ -53,6 +53,7 @@ class KeysManagerTest {
when(dynamicConfigurationManager.getConfiguration()).thenReturn(dynamicConfiguration);
when(dynamicConfiguration.getEcPreKeyMigrationConfiguration()).thenReturn(ecPreKeyMigrationConfiguration);
when(ecPreKeyMigrationConfiguration.storeEcSignedPreKeys()).thenReturn(true);
when(ecPreKeyMigrationConfiguration.deleteEcSignedPreKeys()).thenReturn(true);
keysManager = new KeysManager(
DYNAMO_DB_EXTENSION.getDynamoDbAsyncClient(),