Fixed a broken test.

This commit is contained in:
akwizgran
2016-09-23 11:31:51 +01:00
parent 1583163f88
commit 1fdbe65dde

View File

@@ -1198,6 +1198,7 @@ public class DatabaseComponentImplTest extends BriarTestCase {
oneOf(database).containsVisibleGroup(txn, contactId, groupId); oneOf(database).containsVisibleGroup(txn, contactId, groupId);
will(returnValue(true)); will(returnValue(true));
// The message wasn't stored but it must still be acked // The message wasn't stored but it must still be acked
oneOf(database).raiseSeenFlag(txn, contactId, messageId);
oneOf(database).raiseAckFlag(txn, contactId, messageId); oneOf(database).raiseAckFlag(txn, contactId, messageId);
oneOf(database).commitTransaction(txn); oneOf(database).commitTransaction(txn);
// The message was received but not added // The message was received but not added