Fix tests
This commit is contained in:
parent
9081b37762
commit
dbfe918a8b
2 changed files with 1 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue