提交 14bc2469 编写于 作者: Q qiaozzzh

useriamXTS适配

Signed-off-by: Nqiaozzzh <qiaozhang@huawei.com>
上级 cd1f0b8f
......@@ -19,25 +19,6 @@ import userAuthNorth from '@ohos.userIAM.userAuth'
export default function userauthTest() {
describe('userauthTest_API9', function () {
/*
* @tc.number : Security_IAM_Func_0101
* @tc.name : Kit interface get version
* @tc.size : MediumTest
* @tc.type : Function
* @tc.level : Level 0
*/
it('Security_IAM_Func_0101', 0, async function (done) {
try {
let getversionresult = userAuthNorth.getVersion();
console.info('GetVersionTest_0101 getversionresult = ' + getversionresult);
expect(getversionresult).assertEqual(0);
done();
} catch (e) {
console.log("testFace GetVersionTest_0101 fail " + e.code);
expect(null).assertFail();
}
})
/*
* @tc.number : Security_IAM_Func_0102
* @tc.name : Kit interface get AvailabeStatus
......
......@@ -33,7 +33,7 @@ export default function userauthTest() {
let getversionresult = null;
getversionresult = UserAuthKit.getVersion();
console.info('GetVersionTest_0101 getversionresult = ' + getversionresult);
expect(getversionresult).assertEqual(0);
expect(getversionresult).assertEqual(1);
done();
} catch (e) {
console.log("testFace GetVersionTest_0101 fail " + e.code);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册