diff --git a/communication/wifi_p2p/src/main/js/test/WifiManagerP2PFunction.test.js b/communication/wifi_p2p/src/main/js/test/WifiManagerP2PFunction.test.js index b64bc94847874a105954c9dbfa13ecfca07e6c13..06447c8fed52d4476567778e6a0388616a89c045 100644 --- a/communication/wifi_p2p/src/main/js/test/WifiManagerP2PFunction.test.js +++ b/communication/wifi_p2p/src/main/js/test/WifiManagerP2PFunction.test.js @@ -365,9 +365,9 @@ export default function actsWifiManagerFunctionTest() { }; let p2pConnectResult = wifiMg.p2pConnect(wifiP2PConfig); console.info("[wifi_test]test p2pConnect successful." ); - let p2pCancelResult = wifiMg.p2pDisonnect(); + let p2pCancelResult = wifiMg.p2pDisconnect(); await sleep(2000); - console.info("[wifi_test]test p2pDisonnect successful." ); + console.info("[wifi_test]test p2pDisconnect successful." ); let removeGroupResult = wifiMg.removeGroup(); console.info("[wifi_test]test removeGroup successful " ); await wifiMg.getCurrentGroup()