Skip to content
Snippets Groups Projects
Commit 19fdf3ff authored by str4d's avatar str4d
Browse files

Fix test broken by #78

parent e7dce027
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ import org.briarproject.android.controller.handler.UiResultHandler; ...@@ -10,6 +10,7 @@ import org.briarproject.android.controller.handler.UiResultHandler;
import org.briarproject.android.forum.ForumActivity; import org.briarproject.android.forum.ForumActivity;
import org.briarproject.android.forum.ForumController; import org.briarproject.android.forum.ForumController;
import org.briarproject.android.forum.ForumEntry; import org.briarproject.android.forum.ForumEntry;
import org.briarproject.api.identity.Author;
import org.briarproject.api.identity.AuthorId; import org.briarproject.api.identity.AuthorId;
import org.briarproject.api.sync.GroupId; import org.briarproject.api.sync.GroupId;
import org.briarproject.api.sync.MessageId; import org.briarproject.api.sync.MessageId;
...@@ -81,9 +82,10 @@ public class ForumActivityTest { ...@@ -81,9 +82,10 @@ public class ForumActivityTest {
forumEntries[i] = forumEntries[i] =
new ForumEntry(new MessageId(TestUtils.getRandomId()), new ForumEntry(new MessageId(TestUtils.getRandomId()),
AUTHORS[i], LEVELS[i], System.currentTimeMillis(), AUTHORS[i], LEVELS[i], System.currentTimeMillis(),
AUTHORS[i], new AuthorId(TestUtils.getRandomId())); AUTHORS[i], new AuthorId(TestUtils.getRandomId()),
Author.Status.UNKNOWN);
} }
return new ArrayList<ForumEntry>(Arrays.asList(forumEntries)); return new ArrayList<>(Arrays.asList(forumEntries));
} }
@Test @Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment