diff --git a/communication/bluetooth_profile/src/main/js/default/test/BluetoothA2dp.test.js b/communication/bluetooth_profile/src/main/js/default/test/BluetoothA2dp.test.js index 43e27dd6fa226cc1acfc07ca17911cff8d08cd85..2081171d94552a8e49b9af3945449a81a72d9e8f 100644 --- a/communication/bluetooth_profile/src/main/js/default/test/BluetoothA2dp.test.js +++ b/communication/bluetooth_profile/src/main/js/default/test/BluetoothA2dp.test.js @@ -162,22 +162,6 @@ describe('bluetoothhostTest_host1', function () { }) - /** - * @tc.number SUB_COMMUNACATION_bluetooth_DEVICE_JS_A2DP_GET_PROFILE_STATE_0001 - * @tc.name testgetProfileState - * @tc.desc Test getProfileState api. - * @tc.type Function - * @tc.level Level 0 - */ - it('SUB_COMMUNACATION_bluetooth_DEVICE_JS_A2DP_GET_PROFILE_STATE_0001', 0, async function (done) { - console.info('[bluetooth_js] a2dpSourceProfile getProfileState start'); - await tryToEnableBt(); - let state = bluetooth.getProfileConnState(bluetooth.ProfileId.PROFILE_A2DP_SOURCE); - console.info('[bluetooth_js] a2dpSourceProfile state is:' + state); - expect(state).assertEqual(0); - await sleep(1000); - done(); - })