提交 2d3092ea 编写于 作者: M mingxihua

IssueNo:#I4XB8A: 元能力适配新任务栈xts测试用例修改

Description: 元能力适配新任务栈xts测试用例修改
Sig:SIG_ApplicationFramework
Feature or Bugfix:Bugfix
Binary Source:No
Signed-off-by: Nmingxihua <mingxihua@huawei.com>
上级 12cab440
无相关合并请求
...@@ -118,7 +118,7 @@ describe('ActsContextTest', function () { ...@@ -118,7 +118,7 @@ describe('ActsContextTest', function () {
pid :0, pid :0,
uid :datainfo.uid uid :datainfo.uid
} }
context.verifyPermission("com.example.permission",options, context.verifyPermission("ohos.permission.INSTALL_BUNDLE",options,
(err, data) => { (err, data) => {
console.info("ACTS_VerifyPermission_0100 in verifyPermission") console.info("ACTS_VerifyPermission_0100 in verifyPermission")
expect(data).assertEqual(0); expect(data).assertEqual(0);
...@@ -143,7 +143,7 @@ describe('ActsContextTest', function () { ...@@ -143,7 +143,7 @@ describe('ActsContextTest', function () {
pid :0, pid :0,
uid :datainfo.uid 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); expect(promise).assertEqual(0);
ret = true ret = true
done(); done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部