From 95283b02f7e94f25162362d3539f1fb8f464713d Mon Sep 17 00:00:00 2001 From: NOBUGGERS Date: Tue, 17 May 2022 14:40:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=8D=A2=E8=A1=8C=20=20Signe?= =?UTF-8?q?d-off-by:=20NOBUGGERS=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: NOBUGGERS --- .../js/test/AudioRecorderFormatCompatibilityTest.test.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/multimedia/media/media_js_standard/recorderFormat/src/main/js/test/AudioRecorderFormatCompatibilityTest.test.js b/multimedia/media/media_js_standard/recorderFormat/src/main/js/test/AudioRecorderFormatCompatibilityTest.test.js index 6e1b25a53..ed9c95fc5 100644 --- a/multimedia/media/media_js_standard/recorderFormat/src/main/js/test/AudioRecorderFormatCompatibilityTest.test.js +++ b/multimedia/media/media_js_standard/recorderFormat/src/main/js/test/AudioRecorderFormatCompatibilityTest.test.js @@ -85,14 +85,7 @@ describe('AudioRecorderFormatCompatibilityTest', function () { let permissionName2 = 'ohos.permission.MEDIA_LOCATION'; let permissionName3 = 'ohos.permission.READ_MEDIA'; let permissionName4 = 'ohos.permission.WRITE_MEDIA'; - await atManager.grantUserGrantedPermissi - - - - - - - on(tokenID, permissionName1, 1).then((result) => { + await atManager.grantUserGrantedPermission(tokenID, permissionName1, 1).then((result) => { console.info('[permission] case grantUserGrantedPermission success :' + result); }).catch((err) => { console.error('[permission] case grantUserGrantedPermission failed :' + err); -- GitLab