Remove temporary messages at startup.

This commit is contained in:
akwizgran
2019-06-12 15:21:48 +01:00
parent da4b63f20f
commit 8f839e2c30
2 changed files with 5 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ public class LifecycleManagerImplTest extends BrambleMockTestCase {
oneOf(db).open(dbKey, lifecycleManager);
will(returnValue(false));
oneOf(db).transaction(with(false), withDbRunnable(txn));
oneOf(db).removeTemporaryMessages(txn);
allowing(eventBus).broadcast(with(any(LifecycleEvent.class)));
}});