diff --git a/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/test/ContextJsunit.test.js b/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/test/ContextJsunit.test.js index 8747b074aeb4baef1f667c1e3aeaf0aebe9df428..59bdb7cc8e921ac97b0b321b99c20aa81c8202eb 100644 --- a/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/test/ContextJsunit.test.js +++ b/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/test/ContextJsunit.test.js @@ -118,7 +118,7 @@ describe('ActsContextTest', function () { pid :0, uid :datainfo.uid } - context.verifyPermission("com.example.permission",options, + context.verifyPermission("ohos.permission.INSTALL_BUNDLE",options, (err, data) => { console.info("ACTS_VerifyPermission_0100 in verifyPermission") expect(data).assertEqual(0); @@ -143,7 +143,7 @@ describe('ActsContextTest', function () { pid :0, uid :datainfo.uid } - var promise = await context.verifyPermission("com.example.permission",options ); + var promise = await context.verifyPermission("ohos.permission.INSTALL_BUNDLE",options ); expect(promise).assertEqual(0); ret = true done();