未验证 提交 9a26bb55 编写于 作者: O openharmony_ci 提交者: Gitee

!6083 requested permission states

Merge pull request !6083 from 赵淦/master
...@@ -504,7 +504,7 @@ export default function getBundleInfoForSelf() { ...@@ -504,7 +504,7 @@ export default function getBundleInfoForSelf() {
expect(data.reqPermissionDetails[0].usedScene.abilities.length).assertEqual(1); expect(data.reqPermissionDetails[0].usedScene.abilities.length).assertEqual(1);
expect(data.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual("MainAbility"); expect(data.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual("MainAbility");
expect(data.reqPermissionDetails[0].usedScene.when).assertEqual("inuse"); 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(data.signatureInfo).assertEqual(null);
done(); done();
}).catch(err => { }).catch(err => {
...@@ -534,7 +534,7 @@ export default function getBundleInfoForSelf() { ...@@ -534,7 +534,7 @@ export default function getBundleInfoForSelf() {
expect(data.reqPermissionDetails[0].usedScene.abilities.length).assertEqual(1); expect(data.reqPermissionDetails[0].usedScene.abilities.length).assertEqual(1);
expect(data.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual("MainAbility"); expect(data.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual("MainAbility");
expect(data.reqPermissionDetails[0].usedScene.when).assertEqual("inuse"); 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(data.signatureInfo).assertEqual(null);
expect(err).assertEqual(null); expect(err).assertEqual(null);
done(); done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册