Merge pull request #5807 from annando/fix-test
The API test should now complete again
This commit is contained in:
commit
010a7e121c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue