API: No special handling for Diaspora reshares
This commit is contained in:
parent
ac49a02c36
commit
4e5116cf7e
2 changed files with 2 additions and 92 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue