Merge branch 'fix-introduction-unit-tests' into 'master'

Fix IntroductionManager unit tests

I forgot to run the unit tests after changing the `GroupCount` serialization in response to a review comment. This MR fixes the tests.

See merge request !344
This commit is contained in:
akwizgran
2016-10-06 10:59:27 +00:00

View File

@@ -97,10 +97,12 @@ public class IntroductionManagerImplTest extends BriarTestCase {
);
metadataBefore = BdfDictionary.of(
new BdfEntry(GROUP_KEY_MSG_COUNT, 41L),
new BdfEntry(GROUP_KEY_UNREAD_COUNT, 0L),
new BdfEntry(GROUP_KEY_LATEST_MSG, 0L)
);
metadataAfter = BdfDictionary.of(
new BdfEntry(GROUP_KEY_MSG_COUNT, 42L),
new BdfEntry(GROUP_KEY_UNREAD_COUNT, 0L),
new BdfEntry(GROUP_KEY_LATEST_MSG, time)
);