diff --git a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets index c0ecbafbc0358a8a3f5d0ad04f0e866b6b7ba9e4..10bada919b93612a39b901dbf307f44903131d6f 100644 --- a/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets +++ b/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/GetBundleInfoForSelf.test.ets @@ -504,7 +504,7 @@ export default function getBundleInfoForSelf() { expect(data.reqPermissionDetails[0].usedScene.abilities.length).assertEqual(1); expect(data.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual("MainAbility"); expect(data.reqPermissionDetails[0].usedScene.when).assertEqual("inuse"); - expect(data.permissionGrantStates[0]).assertEqual(-1); + expect(data.permissionGrantStates[0]).assertEqual(0); expect(data.signatureInfo).assertEqual(null); done(); }).catch(err => { @@ -534,7 +534,7 @@ export default function getBundleInfoForSelf() { expect(data.reqPermissionDetails[0].usedScene.abilities.length).assertEqual(1); expect(data.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual("MainAbility"); expect(data.reqPermissionDetails[0].usedScene.when).assertEqual("inuse"); - expect(data.permissionGrantStates[0]).assertEqual(-1); + expect(data.permissionGrantStates[0]).assertEqual(0); expect(data.signatureInfo).assertEqual(null); expect(err).assertEqual(null); done();