diff --git a/distributeddatamgr/relationalStoretest/RdbJstest/hap/src/main/js/test/RdbStoreDistributedJsunit.test.js b/distributeddatamgr/relationalStoretest/RdbJstest/hap/src/main/js/test/RdbStoreDistributedJsunit.test.js index e8c184bc540d0a6b428ce77cea9fd86e2c9d4b0d..c4b81d16e9a75af5adbdf1c6e44161438f381b4f 100644 --- a/distributeddatamgr/relationalStoretest/RdbJstest/hap/src/main/js/test/RdbStoreDistributedJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/RdbJstest/hap/src/main/js/test/RdbStoreDistributedJsunit.test.js @@ -349,7 +349,6 @@ describe('rdbStoreDistributedTest', function () { try{ rdbStore.on("dataChange", dataRdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver); console.info(TAG + "on dataChange success "); - expect(rdbStore).assertEqual(rdbStore); }catch(err){ console.info(TAG + "on dataChange " + err); expect(err !== null).assertFalse(); @@ -368,7 +367,6 @@ describe('rdbStoreDistributedTest', function () { try{ let off = rdbStore.on("dataChange", dataRdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver); console.info(TAG + "off dataChange success " + off); - expect(rdbStore).assertEqual(rdbStore); }catch(err){ console.info(TAG + "off dataChange " + err); expect(err !== null).assertFalse(); diff --git a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RelationalStoreDistributedJsunit.test.js b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RelationalStoreDistributedJsunit.test.js index 1878a0376f05d29e139a3c4770a1c40a6cd4f013..1c394b40de425fb26257c522d10dc12aa3c9fc51 100644 --- a/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RelationalStoreDistributedJsunit.test.js +++ b/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/RelationalStoreDistributedJsunit.test.js @@ -352,7 +352,6 @@ describe('relationalStoreDistributedTest', function () { try{ rdbStore.on("dataChange", data_Rdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver); console.info(TAG + "on dataChange success "); - expect(rdbStore).assertEqual(rdbStore); }catch(err){ console.info(TAG + "on dataChange " + err); expect(err !== null).assertFalse(); @@ -371,7 +370,6 @@ describe('relationalStoreDistributedTest', function () { try{ let off = rdbStore.on("dataChange", data_Rdb.SubscribeType.SUBSCRIBE_TYPE_REMOTE, storeObserver); console.info(TAG + "off dataChange success " + off); - expect(rdbStore).assertEqual(rdbStore); }catch(err){ console.info(TAG + "off dataChange " + err); expect(err !== null).assertFalse();