From 06164bb11020f493880dc240e1661a0e57031e59 Mon Sep 17 00:00:00 2001 From: suoqilong Date: Mon, 25 Nov 2024 06:11:45 +0000 Subject: [PATCH] add UpgradeManagerTest ut case Signed-off-by: suoqilong --- .../app/test/unittest/kvstore_data_service_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/distributeddataservice/app/test/unittest/kvstore_data_service_test.cpp b/services/distributeddataservice/app/test/unittest/kvstore_data_service_test.cpp index 48cc33cb9..2734b9025 100644 --- a/services/distributeddataservice/app/test/unittest/kvstore_data_service_test.cpp +++ b/services/distributeddataservice/app/test/unittest/kvstore_data_service_test.cpp @@ -530,10 +530,10 @@ HWTEST_F(KvStoreDataServiceTest, PrintfInfo003, TestSize.Level0) int fd = 0; std::map datas; KvStoreDataService::BundleInfo bundleInfo; - datas["user1"] = bundleInfo; + datas["bundleName1"] = bundleInfo; EXPECT_NO_FATAL_FAILURE(kvStoreDataServiceTest.PrintfInfo(fd, datas)); - datas["user2"] = bundleInfo; + datas["bundleName2"] = bundleInfo; EXPECT_NO_FATAL_FAILURE(kvStoreDataServiceTest.PrintfInfo(fd, datas)); }