From a24360869a05cfa4ecf59a6ef4068eaaa0e2d3a6 Mon Sep 17 00:00:00 2001 From: zhaimengchao Date: Mon, 24 Jul 2023 13:21:50 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90Account=E3=80=91=E3=80=90Master?= =?UTF-8?q?=E3=80=91testCases=20errCode=20modify=20for=20the=20distributed?= =?UTF-8?q?Account?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhaimengchao --- .../src/main/js/test/ActsDSGetSet.test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/account/OsAccountTest_js/src/main/js/test/ActsDSGetSet.test.js b/account/OsAccountTest_js/src/main/js/test/ActsDSGetSet.test.js index ae0484250..2ff3b0e24 100644 --- a/account/OsAccountTest_js/src/main/js/test/ActsDSGetSet.test.js +++ b/account/OsAccountTest_js/src/main/js/test/ActsDSGetSet.test.js @@ -473,7 +473,7 @@ export default function ActsDAGetSetTest() { }; accountAbility.setOsAccountDistributedInfo(obj, (err)=>{ console.debug("====>setOsAccountDistributedInfo_test009 set_err:" + JSON.stringify(err)) - expect(err.code).assertEqual(12300001); + expect(err.code).assertEqual(12300002); done(); }) }) @@ -504,7 +504,7 @@ export default function ActsDAGetSetTest() { done(); }).catch((err) => { console.debug("====>setOsAccountDistributedInfo_test010 throw_err:" + JSON.stringify(err)) - expect(err.code).assertEqual(12300001); + expect(err.code).assertEqual(12300002); done(); }) }) @@ -529,7 +529,7 @@ export default function ActsDAGetSetTest() { console.debug(JSON.stringify(obj)) accountAbility.setOsAccountDistributedInfo(obj, (err)=>{ console.debug("====>setOsAccountDistributedInfo_test011 update_err:" + JSON.stringify(err)) - expect(err.code).assertEqual(12300001); + expect(err.code).assertEqual(12300002); done(); }) }) @@ -559,7 +559,7 @@ export default function ActsDAGetSetTest() { done(); }catch(err){ console.debug("====>setOsAccountDistributedInfo_test012 throw_err:" + JSON.stringify(err)) - expect(err.code).assertEqual(12300001); + expect(err.code).assertEqual(12300002); done(); } }) @@ -585,7 +585,7 @@ export default function ActsDAGetSetTest() { console.debug(JSON.stringify(obj)) accountAbility.setOsAccountDistributedInfo(obj, (err)=>{ console.debug("====>setOsAccountDistributedInfo_test013 update_err:" + JSON.stringify(err)) - expect(err.code).assertEqual(12300001); + expect(err.code).assertEqual(12300002); done(); }) }) @@ -614,7 +614,7 @@ export default function ActsDAGetSetTest() { done(); }catch(err){ console.debug("====>setOsAccountDistributedInfo_test014 throw_err:" + JSON.stringify(err)) - expect(err.code).assertEqual(12300001) + expect(err.code).assertEqual(12300002) done(); } }) -- GitLab