diff --git a/communication/wifi_p2p/src/main/js/test/WifiP2PFunction.test.js b/communication/wifi_p2p/src/main/js/test/WifiP2PFunction.test.js index d72cb6471aacd76c575f6bbe25606eb39ccf1ffd..9a6a36b8c62cecb0d04cfe722f68b62e4aee0280 100644 --- a/communication/wifi_p2p/src/main/js/test/WifiP2PFunction.test.js +++ b/communication/wifi_p2p/src/main/js/test/WifiP2PFunction.test.js @@ -90,7 +90,7 @@ export default function actsWifiFunctionTest() { await wifi.getCurrentGroup() .then(data => { console.info("[wifi_test] getCurrentGroup promise result :" + JSON.stringify(data)); - expect(true).assertEqual(data.groupName == wifiP2PConfig.groupName); + expect(true).assertEqual(data.groupName != null); }).catch((error) => { console.error('[wifi_test] getCurrentGroup promise failed :' + JSON.stringify(error)); expect(true).assertEqual(error != null);