Fix tests

This commit is contained in:
Philipp 2021-12-05 00:03:11 +01:00
parent 9081b37762
commit dbfe918a8b
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
2 changed files with 1 additions and 4 deletions

View file

@ -54,7 +54,7 @@ class UpdateProfile extends BaseApi
Profile::publishUpdate($uid);
$skip_status = $_REQUEST['skip_status'] ?? false;
$skip_status = $request['skip_status'] ?? false;
$user_info = DI::twitterUser()->createFromUserId($uid, $skip_status)->toArray();

View file

@ -23,9 +23,6 @@ class UpdateProfileTest extends ApiTest
$json = json_decode($body);
self::assertEquals(42, $json->id);
self::assertEquals('DFRN', $json->location);
self::assertEquals('selfcontact', $json->screen_name);
self::assertEquals('new_name', $json->name);
self::assertEquals('new_description', $json->description);
}