mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 07:09:56 +01:00
Singleton lists and singleton sets aren't equal, so use lists
consistently.
This commit is contained in:
@@ -62,7 +62,7 @@ public class ConnectionRecogniserImplTest extends TestCase {
|
||||
oneOf(db).getLocalTransports();
|
||||
will(returnValue(transports));
|
||||
oneOf(db).getContacts();
|
||||
will(returnValue(Collections.singleton(contactId)));
|
||||
will(returnValue(Collections.singletonList(contactId)));
|
||||
oneOf(db).getSharedSecret(contactId);
|
||||
will(returnValue(secret));
|
||||
oneOf(db).getRemoteIndex(contactId, transportId);
|
||||
@@ -93,7 +93,7 @@ public class ConnectionRecogniserImplTest extends TestCase {
|
||||
oneOf(db).getLocalTransports();
|
||||
will(returnValue(transports));
|
||||
oneOf(db).getContacts();
|
||||
will(returnValue(Collections.singleton(contactId)));
|
||||
will(returnValue(Collections.singletonList(contactId)));
|
||||
oneOf(db).getSharedSecret(contactId);
|
||||
will(returnValue(secret));
|
||||
oneOf(db).getRemoteIndex(contactId, transportId);
|
||||
|
||||
Reference in New Issue
Block a user