修复KV数据库更改接口导致的UT失败

Signed-off-by: torrizo <lishenhao2@huawei.com>
This commit is contained in:
torrizo 2024-09-05 09:49:09 +00:00 committed by Gitee
parent d2bcf9cb62
commit 8a47248e7e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1348,7 +1348,7 @@ HWTEST_F(ProfileStorageTest, RemoveDeviceData_003, TestSize.Level2)
{
deviceProfileStorage->Init();
int32_t res = deviceProfileStorage->RemoveDeviceData("network1111111");
EXPECT_EQ(27459585, res);
EXPECT_EQ(27459584, res);
}
/**
@ -1460,7 +1460,7 @@ HWTEST_F(ProfileStorageTest, PutDeviceProfile_010, TestSize.Level3)
ret = DeviceProfileStorageManager::GetInstance().RemoveUnBoundDeviceProfile("111");
EXPECT_NE(ret, ERR_OK);
ret = DeviceProfileStorageManager::GetInstance().RemoveRemoteDeviceProfile();
EXPECT_EQ(ret, ERR_OK);
EXPECT_EQ(ret, 27459584);
}
/**