From 909ac8a001ce6795e172bbf97a8d6c4f7f49fb9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E6=B5=B7=E6=B6=9B?= Date: Tue, 18 Oct 2022 08:08:09 +0000 Subject: [PATCH] fixed b07c00a from https://gitee.com/murphy1984/acts/pulls/5948 update account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 何海涛 --- .../src/main/js/test/OsAccountIs.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 55e2d1743..b4966c76e 100755 --- a/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js +++ b/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js @@ -208,7 +208,7 @@ export default function ActsOsAccountThirdPartyTest_third_1() { console.debug("====>get os AccountManager finish===="); AccountManager.isOsAccountActived(undefined, (err, data)=>{ console.debug("====>ActsOsAccountIsActived_0700 err:" + JSON.stringify(err)); - expect(err != 0).assertEqual(true) + expect(err.code != 0).assertEqual(true) console.debug("====>receive isOsAccountActived data: " + JSON.stringify(data)); done(); }) -- GitLab