From a22e85e9d99b97e5d44831416f81951676cefd23 Mon Sep 17 00:00:00 2001 From: torrizo Date: Thu, 17 Jul 2025 07:51:44 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8E=A5=E5=8F=A3=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: torrizo --- .../test/unittest/distributed_device_profile_client_kv_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/test/unittest/distributed_device_profile_client_kv_test.cpp b/services/core/test/unittest/distributed_device_profile_client_kv_test.cpp index b9d4dcc3..24402b77 100644 --- a/services/core/test/unittest/distributed_device_profile_client_kv_test.cpp +++ b/services/core/test/unittest/distributed_device_profile_client_kv_test.cpp @@ -185,7 +185,7 @@ HWTEST_F(DistributedDeviceProfileClientKvTest, PutServiceProfile001, TestSize.Le serviceProfile.SetDeviceId("deviceId"); serviceProfile.SetServiceName("serviceName"); serviceProfile.SetServiceType("serviceType"); - + DistributedDeviceProfileClient::GetInstance().ReleaseResource(); int32_t errCode = DistributedDeviceProfileClient::GetInstance().PutServiceProfile(serviceProfile); EXPECT_EQ(errCode, DP_PERMISSION_DENIED); } -- Gitee