mirror of
https://github.com/friendica/friendica
synced 2025-04-24 09:50:11 +00:00
Reenable Twitter/Lookup tests & add standard assertions
This commit is contained in:
parent
f9c490b29a
commit
616cf012f9
4 changed files with 90 additions and 56 deletions
|
@ -39,8 +39,8 @@ class Lookup extends BaseApi
|
|||
|
||||
$users = [];
|
||||
|
||||
if (!empty($_REQUEST['user_id'])) {
|
||||
foreach (explode(',', $_REQUEST['user_id']) as $cid) {
|
||||
if (!empty($request['user_id'])) {
|
||||
foreach (explode(',', $request['user_id']) as $cid) {
|
||||
if (!empty($cid) && is_numeric($cid)) {
|
||||
$users[] = DI::twitterUser()->createFromContactId((int)$cid, $uid, false)->toArray();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue