mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Added size-unlimited version of Database.getSendableMessages().
This commit is contained in:
@@ -826,8 +826,7 @@ public abstract class DatabaseComponentTest extends TestCase {
|
||||
allowing(database).containsContact(txn, contactId);
|
||||
will(returnValue(true));
|
||||
// Get the sendable message IDs
|
||||
oneOf(database).getSendableMessages(txn, contactId,
|
||||
Integer.MAX_VALUE);
|
||||
oneOf(database).getSendableMessages(txn, contactId);
|
||||
will(returnValue(sendable));
|
||||
// Try to add both IDs to the writer - only manage to add one
|
||||
oneOf(offerWriter).writeMessageId(messageId);
|
||||
|
||||
Reference in New Issue
Block a user