mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Post RSS entries within one transaction
This also fixes a bug where new feeds was not added properly.
This commit is contained in:
@@ -284,9 +284,10 @@ public class BlogManagerImplTest extends BriarTestCase {
|
||||
);
|
||||
|
||||
context.checking(new Expectations() {{
|
||||
oneOf(clientHelper).addLocalMessage(message, CLIENT_ID, meta, true);
|
||||
oneOf(db).startTransaction(true);
|
||||
oneOf(db).startTransaction(false);
|
||||
will(returnValue(txn));
|
||||
oneOf(clientHelper)
|
||||
.addLocalMessage(txn, message, CLIENT_ID, meta, true);
|
||||
oneOf(identityManager)
|
||||
.getAuthorStatus(txn, blog1.getAuthor().getId());
|
||||
will(returnValue(VERIFIED));
|
||||
|
||||
Reference in New Issue
Block a user