diff --git a/android/bridge/src/androidTest/java/ipfs/gomobile/android/configIPFSTests.java b/android/bridge/src/androidTest/java/ipfs/gomobile/android/configIPFSTests.java index e23c7d43..253214f8 100644 --- a/android/bridge/src/androidTest/java/ipfs/gomobile/android/configIPFSTests.java +++ b/android/bridge/src/androidTest/java/ipfs/gomobile/android/configIPFSTests.java @@ -90,7 +90,7 @@ public void testConfig() throws Exception { getMDNSStateFromConfig() ); - JSONObject mdnsCfg = new JSONObject("{\"MDNS\":{\"Enabled\":true,\"Interval\":10}}"); + JSONObject mdnsCfg = new JSONObject("{\"MDNS\":{\"Enabled\":true}}"); ipfs.setConfigKey("Discovery", mdnsCfg); assertTrue( diff --git a/ios/Bridge/GomobileIPFSTests/ConfigIPFSTest.swift b/ios/Bridge/GomobileIPFSTests/ConfigIPFSTest.swift index 45140d0b..1a93b1f2 100644 --- a/ios/Bridge/GomobileIPFSTests/ConfigIPFSTest.swift +++ b/ios/Bridge/GomobileIPFSTests/ConfigIPFSTest.swift @@ -77,7 +77,7 @@ class ConfigIPFSTests: XCTestCase { "MDNS state should be enabled after setting it in config" ) - let mdnsCfg = ["MDNS": ["Enabled": true, "Interval": 10]] + let mdnsCfg = ["MDNS": ["Enabled": true]] try ipfs.setConfigKey("Discovery", mdnsCfg); XCTAssertTrue(