From bcb0a8e24e7e2a083c3123b198a45b79e1f2250e Mon Sep 17 00:00:00 2001 From: yanglifeng1217 Date: Wed, 10 May 2023 15:16:49 +0800 Subject: [PATCH] Signed-off-by: yanglifeng1217 --- .../hap/src/main/js/test/RdbStoreDistributedJsunit.test.js | 2 -- .../src/main/js/test/RelationalStoreDistributedJsunit.test.js | 2 -- 2 files changed, 4 deletions(-) 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 e8c184bc5..c4b81d16e 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 1878a0376..1c394b40d 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(); -- GitLab