提交 68619c5c 编写于 作者: Z zhaogan

Issue: #I5XGKM

Description: requested permission states
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Bugfix
Binary Source: No
Signed-off-by: Nzhaogan <zhaogan2@huawei.com>
上级 4a12695c
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册