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 d5f25813fafb10fc0c63fb4201545a09beb67d17..7bd6970d084068a5e55255f8a618f383d6802cc0 100755 --- a/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js +++ b/account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountIs.test.js @@ -206,7 +206,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(); })