diff --git a/services/bundlemgr/test/unittest/bms_bundle_overlay_test/bms_bundle_overlay_ipc_test.cpp b/services/bundlemgr/test/unittest/bms_bundle_overlay_test/bms_bundle_overlay_ipc_test.cpp index 24909deccc4b36de2ecbe7559e3490ed0497225a..d6b99bf1ba786dae0a3ed6f4559e9eaf935cfc1a 100644 --- a/services/bundlemgr/test/unittest/bms_bundle_overlay_test/bms_bundle_overlay_ipc_test.cpp +++ b/services/bundlemgr/test/unittest/bms_bundle_overlay_test/bms_bundle_overlay_ipc_test.cpp @@ -83,6 +83,7 @@ ErrCode OverlayManagerHostMock::GetAllOverlayModuleInfo(const std::string &bundl int32_t userId, std::vector &overlayModuleInfo, int32_t &funcResult) { OverlayModuleInfo moduleInfo = CreateOverlayModuleInfo(); + overlayModuleInfo.emplace_back(moduleInfo); return ERR_OK; }