mirror of
https://gitee.com/openharmony/deviceprofile_device_info_manager
synced 2024-12-04 13:56:39 +00:00
修改UT
Signed-off-by: torrizo <lishenhao2@huawei.com>
This commit is contained in:
parent
e1e2dc9e7e
commit
f4aea82688
@ -76,7 +76,7 @@ void TrustProfileManagerTest::TearDown()
|
||||
|
||||
int TrustProfileManagerTest::ResultSize(std::shared_ptr<ResultSet> &resultSet)
|
||||
{
|
||||
if (resultSet->GoToFirstRow() != E_OK && resultSet == nullptr) {
|
||||
if (resultSet->GoToFirstRow() != E_OK) {
|
||||
return 0;
|
||||
}
|
||||
int count;
|
||||
|
Loading…
Reference in New Issue
Block a user