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 55e2d17431b744aab48e128b6c78b410c88f0fef..b4966c76e74ebee0cb6e4e64678b01500c844b17 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(); })