diff --git a/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp b/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp index 5e23c6de3388dbde7dc284cc200cf964af4df0fa..fae2068290a1b954e30d9008566217ca83118355 100755 --- a/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp +++ b/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp @@ -272,6 +272,11 @@ class RdbStoreTest : public RdbStore { { return E_ERROR; }; + + virtual int Sync(const SyncOption& option, const AbsRdbPredicates& predicate, const AsyncDetail& async) + { + return E_ERROR; + }; virtual int Sync(const SyncOption& option, const std::vector& tables, const AsyncDetail& async) {