mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Move back to previous way of creating at least one test contact
This commit is contained in:
@@ -116,6 +116,8 @@ public class TestDataCreatorImpl implements TestDataCreator {
|
||||
@Override
|
||||
public void createTestData(int numContacts, int numPrivateMsgs,
|
||||
int numBlogPosts, int numForums, int numForumPosts) {
|
||||
if (numContacts == 0) throw new IllegalArgumentException(
|
||||
"Number of contacts must be >= 1");
|
||||
ioExecutor.execute(() -> {
|
||||
try {
|
||||
createTestDataOnIoExecutor(numContacts, numPrivateMsgs,
|
||||
|
||||
Reference in New Issue
Block a user