mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 20:59:54 +01:00
Empty transport configs/properties should be treated the same as nulls.
This commit is contained in:
@@ -42,7 +42,7 @@ public class TorPluginTest extends BriarTestCase {
|
||||
assertTrue(onion.endsWith(".onion"));
|
||||
// Create another plugin instance for the client
|
||||
Callback clientCallback = new Callback();
|
||||
clientCallback.config.put("noHiddenService", "");
|
||||
clientCallback.config.put("noHiddenService", "true");
|
||||
TransportProperties p = new TransportProperties();
|
||||
p.put("onion", onion);
|
||||
clientCallback.remote.put(contactId, p);
|
||||
|
||||
Reference in New Issue
Block a user