mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Remove transport ID from connection context.
This commit is contained in:
@@ -116,7 +116,6 @@ public class ConnectionRecogniserImplTest extends TestCase {
|
||||
ConnectionContext ctx = c.acceptConnection(encryptedIv);
|
||||
assertNotNull(ctx);
|
||||
assertEquals(contactId, ctx.getContactId());
|
||||
assertEquals(transportId, ctx.getTransportId());
|
||||
assertEquals(remoteIndex, ctx.getTransportIndex());
|
||||
assertEquals(3L, ctx.getConnectionNumber());
|
||||
// Second time - the IV should no longer be expected
|
||||
|
||||
@@ -162,7 +162,6 @@ public class BatchConnectionReadWriteTest extends TestCase {
|
||||
ConnectionContext ctx = rec.acceptConnection(encryptedIv);
|
||||
assertNotNull(ctx);
|
||||
assertEquals(contactId, ctx.getContactId());
|
||||
assertEquals(transportId, ctx.getTransportId());
|
||||
assertEquals(transportIndex, ctx.getTransportIndex());
|
||||
// Create an incoming batch connection
|
||||
ConnectionReaderFactory connFactory =
|
||||
|
||||
Reference in New Issue
Block a user