1
0
Fork 0

API: No special handling for Diaspora reshares

This commit is contained in:
Michael 2021-10-02 08:22:15 +00:00
commit 4e5116cf7e
2 changed files with 2 additions and 92 deletions

View file

@ -3510,18 +3510,6 @@ class ApiTest extends FixtureTest
$this->markTestIncomplete();
}
/**
* Test the api_share_as_retweet() function.
*
* @return void
*/
public function testApiShareAsRetweet()
{
$item = ['body' => '', 'author-id' => 1, 'owner-id' => 1];
$result = api_share_as_retweet($item);
self::assertFalse($result);
}
/**
* Test the api_share_as_retweet() function with a valid item.
*