diff --git a/telephony/telephonyjstest/netmanager_base/register/src/main/js/test/NetworkManagerRegister.test.js b/telephony/telephonyjstest/netmanager_base/register/src/main/js/test/NetworkManagerRegister.test.js index e74690684af06e7b6510142237e76ddab1747847..b96c31739cb512eea4c69701f80f052475b5b368 100644 --- a/telephony/telephonyjstest/netmanager_base/register/src/main/js/test/NetworkManagerRegister.test.js +++ b/telephony/telephonyjstest/netmanager_base/register/src/main/js/test/NetworkManagerRegister.test.js @@ -2204,7 +2204,7 @@ done(); } else { console.info(`${caseName} netCapabilitiesChange handle ` + value.netHandle.netId); - expect(value.netHandle.netId > ETH_100 ).assertTrue(); + expect(value.netHandle.netId >= ETH_100 ).assertTrue(); } }); netConn.on('netConnectionPropertiesChange', (value) => { diff --git a/telephony/telephonyjstest/netmanager_base/system_fetch/Test.json b/telephony/telephonyjstest/netmanager_base/system_fetch/Test.json index f74dd66079ad50ad3128db9abf79050d8ef6118f..f4ad8a46743755f614f324c8bfa1387ec483ee85 100644 --- a/telephony/telephonyjstest/netmanager_base/system_fetch/Test.json +++ b/telephony/telephonyjstest/netmanager_base/system_fetch/Test.json @@ -6,7 +6,7 @@ "bundle-name": "com.ohos.system_fetch", "package-name": "com.ohos.system_fetch", "shell-timeout": "900000", - "testcase-timeout": "30000" + "testcase-timeout": "40000" }, "kits": [ { diff --git a/telephony/telephonyjstest/netmanager_base/system_fetch/src/main/config.json b/telephony/telephonyjstest/netmanager_base/system_fetch/src/main/config.json index 09ef97a98df6b43d5683ef2dcdabe3b6fb0beb02..7a77242e1a24cc4316e03debd9e0d4b7a59cb9ad 100644 --- a/telephony/telephonyjstest/netmanager_base/system_fetch/src/main/config.json +++ b/telephony/telephonyjstest/netmanager_base/system_fetch/src/main/config.json @@ -65,6 +65,12 @@ "deliveryWithInstall": true, "moduleName": "entry" }, + "reqPermissions": [ + { + "name":"ohos.permission.INTERNET", + "reason":"need use ohos.permission.INTERNET" + } + ], "package": "com.ohos.system_fetch", "js": [ {