Skip to content
Snippets Groups Projects
Unverified Commit 6c90204c authored by akwizgran's avatar akwizgran
Browse files

Fixed a broken unit test.

parent f8266d8a
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,6 @@ import org.briarproject.api.clients.BdfMessageContext; ...@@ -8,7 +8,6 @@ import org.briarproject.api.clients.BdfMessageContext;
import org.briarproject.api.data.BdfDictionary; import org.briarproject.api.data.BdfDictionary;
import org.briarproject.api.data.BdfList; import org.briarproject.api.data.BdfList;
import org.briarproject.api.identity.Author; import org.briarproject.api.identity.Author;
import org.briarproject.api.identity.AuthorFactory;
import org.briarproject.api.identity.AuthorId; import org.briarproject.api.identity.AuthorId;
import org.briarproject.api.sync.InvalidMessageException; import org.briarproject.api.sync.InvalidMessageException;
import org.briarproject.api.sync.MessageId; import org.briarproject.api.sync.MessageId;
...@@ -29,9 +28,6 @@ import static org.junit.Assert.assertFalse; ...@@ -29,9 +28,6 @@ import static org.junit.Assert.assertFalse;
public class ForumPostValidatorTest extends ValidatorTestCase { public class ForumPostValidatorTest extends ValidatorTestCase {
private final AuthorFactory authorFactory =
context.mock(AuthorFactory.class);
private final MessageId parentId = new MessageId(TestUtils.getRandomId()); private final MessageId parentId = new MessageId(TestUtils.getRandomId());
private final String authorName = private final String authorName =
TestUtils.getRandomString(MAX_AUTHOR_NAME_LENGTH); TestUtils.getRandomString(MAX_AUTHOR_NAME_LENGTH);
......
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