Make MessagesManager#clear asynchronous

This commit is contained in:
Jon Chambers
2023-08-08 11:03:34 -04:00
committed by Jon Chambers
parent 2c835b5c51
commit ccd860207b
7 changed files with 25 additions and 14 deletions

View File

@@ -128,6 +128,8 @@ class DeviceControllerTest {
when(keysManager.storePqLastResort(any(), any())).thenReturn(CompletableFuture.completedFuture(null));
when(keysManager.delete(any(), anyLong())).thenReturn(CompletableFuture.completedFuture(null));
when(messagesManager.clear(any(), anyLong())).thenReturn(CompletableFuture.completedFuture(null));
}
@AfterEach