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

View File

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