* Modify the getcontactlists unit testcase.

This commit is contained in:
hufangzhou
2023-01-11 00:55:15 +00:00
parent c5bd66918f
commit c3ca00a22b
2 changed files with 21 additions and 7 deletions
+2 -1
View File
@@ -587,7 +587,8 @@ class userTest
$contacts = $this->objectModel->getContactLists($account, $params);
if(dao::isError()) return dao::getError();
return $contacts;
return $contacts ? $contacts : 0;
}
/**