From 7afca5fc26ef0509a8b9058802e25279045a1bc1 Mon Sep 17 00:00:00 2001 From: zhuchaochao Date: Mon, 27 Mar 2023 16:58:45 +0800 Subject: [PATCH] check mute Signed-off-by: zhuchaochao --- .../audioManager/src/main/js/test/AudioFramework.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js index 3f263a707..347405a59 100755 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js +++ b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js @@ -2770,7 +2770,7 @@ describe('audioFramework', function () { await audioManager.mute(audio.AudioVolumeType.VOICE_CALL, false); let value = await audioManager.getVolume(audio.AudioVolumeType.VOICE_CALL); console.info("AudioFrameworkTest: value is " + value); - if (value == lowVol) { + if (value > 0) { expect(true).assertTrue(); } else { expect(false).assertTrue(); -- GitLab