mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 15:19:53 +01:00
Removed unnecessary transaction commit.
This commit is contained in:
@@ -433,7 +433,6 @@ public class H2DatabaseTest extends TestCase {
|
|||||||
assertEquals(contactId, db.addContact(txn, transports, secret));
|
assertEquals(contactId, db.addContact(txn, transports, secret));
|
||||||
db.addBatchToAck(txn, contactId, batchId);
|
db.addBatchToAck(txn, contactId, batchId);
|
||||||
db.addBatchToAck(txn, contactId, batchId1);
|
db.addBatchToAck(txn, contactId, batchId1);
|
||||||
db.commitTransaction(txn);
|
|
||||||
|
|
||||||
// Both batch IDs should be returned
|
// Both batch IDs should be returned
|
||||||
Collection<BatchId> acks = db.getBatchesToAck(txn, contactId);
|
Collection<BatchId> acks = db.getBatchesToAck(txn, contactId);
|
||||||
|
|||||||
Reference in New Issue
Block a user