Merge pull request #5807 from annando/fix-test

The API test should now complete again
This commit is contained in:
Hypolite Petovan 2018-10-02 07:06:28 -04:00 committed by GitHub
commit 010a7e121c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3388,7 +3388,7 @@ class ApiTest extends DatabaseTest
*/
public function testApiShareAsRetweet()
{
$item = ['body' => ''];
$item = ['body' => '', 'author-id' => 1, 'owner-id' => 1];
$result = api_share_as_retweet($item);
$this->assertFalse($result);
}