From 3b06f0fb58252fec487b3d5caacf4000353b06e0 Mon Sep 17 00:00:00 2001 From: liushuling Date: Fri, 17 Feb 2023 02:02:50 +0000 Subject: [PATCH] =?UTF-8?q?XTS=20=E9=80=82=E9=85=8D=E6=8C=91=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liushuling --- .../src/main/js/test/OsAccountCheck.test.js | 4 ++-- .../src/main/js/test/OsAccountIs.test.js | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountCheck.test.js b/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountCheck.test.js index d876a4ba5..156f4f090 100644 --- a/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountCheck.test.js +++ b/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountCheck.test.js @@ -298,7 +298,7 @@ export default function ActsOsAccountThirdPartyTest_third_3() { console.debug("====>checkOsAccountVerified err:" + JSON.stringify(err)); console.debug("====>checkOsAccountVerified data:" + data); expect(err).assertEqual(null); - expect(data).assertEqual(false); + expect(data).assertEqual(true); console.debug("====>ActsOsAccountCheckVerified_0100 end===="); done(); }) @@ -315,7 +315,7 @@ export default function ActsOsAccountThirdPartyTest_third_3() { console.debug("====>get os AccountManager finish===="); var checkOsAccountVerified = await AccountManager.checkOsAccountVerified(); console.debug("====>checkOsAccountVerified data:" + JSON.stringify(checkOsAccountVerified)); - expect(checkOsAccountVerified).assertEqual(false); + expect(checkOsAccountVerified).assertEqual(true); console.debug("====>ActsOsAccountCheckVerified_0200 end===="); done(); }) diff --git a/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js b/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js index 969c36f94..d943aaca9 100755 --- a/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js +++ b/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js @@ -287,7 +287,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() { console.debug("====>isOsAccountVerified err:" + JSON.stringify(err)); console.debug("====>isOsAccountVerified data:" + data); expect(err).assertEqual(null); - expect(data).assertEqual(false); + expect(data).assertEqual(true); console.debug("====>ActsOsAccountVerified_0100 end===="); done(); }) @@ -304,7 +304,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() { console.debug("====>get os AccountManager finish===="); var isVerified = await AccountManager.isOsAccountVerified(); console.debug("====>isOsAccountVerified data:" + isVerified); - expect(isVerified).assertEqual(false); + expect(isVerified).assertEqual(true); console.debug("====>ActsOsAccountVerified_0200 end===="); done(); }) @@ -356,7 +356,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() { console.debug("====>error received callback===="); console.debug("====>receive isOsAccountVerified err: " + JSON.stringify(err)); expect(err).assertEqual(null); - expect(data).assertEqual(false); + expect(data).assertEqual(true); console.debug("====>receive isOsAccountVerified data: " + JSON.stringify(data)); done(); }) @@ -373,7 +373,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() { console.debug("====>get os AccountManager finish===="); var localIdStr = "100"; AccountManager.isOsAccountVerified(localIdStr).then((data)=>{ - expect(data).assertEqual(false); // + expect(data).assertEqual(true); // console.debug("====>ActsOsAccountIsVerified_0600 end===="); done(); }).catch((err)=>{ @@ -397,7 +397,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() { console.debug("====>ActsOsAccountIsVerified_0700 isOsAccountVerified_err:" + JSON.stringify(err)) expect(err).assertEqual(null); console.debug("====>ActsOsAccountIsVerified_0700 isOsAccountVerified_data:" + JSON.stringify(data)) - expect(data).assertEqual(false) + expect(data).assertEqual(true) console.debug("====>ActsOsAccountIsVerified_0700 end===="); done(); }); @@ -415,7 +415,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() { var localIdUndefined = undefined; AccountManager.isOsAccountVerified(localIdUndefined).then((data)=>{ console.debug("====>ActsOsAccountIsVerified_0800 isOsAccountVerified_data:" + JSON.stringify(data)) - expect(data).assertEqual(false) + expect(data).assertEqual(true) console.debug("====>ActsOsAccountIsVerified_0700 end===="); done(); }).catch((err)=>{ -- GitLab