Removed unnecessary transaction commit.

This commit is contained in:
akwizgran
2011-09-07 11:18:07 +01:00
parent 0a84a01235
commit 531d54c1d3

View File

@@ -433,7 +433,6 @@ public class H2DatabaseTest extends TestCase {
assertEquals(contactId, db.addContact(txn, transports, secret));
db.addBatchToAck(txn, contactId, batchId);
db.addBatchToAck(txn, contactId, batchId1);
db.commitTransaction(txn);
// Both batch IDs should be returned
Collection<BatchId> acks = db.getBatchesToAck(txn, contactId);