From 8288be654458ea373f56f9cba464e807d6ee47a3 Mon Sep 17 00:00:00 2001 From: quanli Date: Fri, 18 Nov 2022 16:01:48 +0800 Subject: [PATCH] fixed 14169fd from https://gitee.com/quanli125/xts_acts/pulls/6577 quanli1@huawei.com Signed-off-by: quanli --- .../wifi_p2p/src/main/js/test/WifiManagerP2PFunction.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 b64bc9484..06447c8fe 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() -- GitLab