mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02:00
Move all (inactive) API endpoint specific tests to new structure
This commit is contained in:
parent
5aad46c7fb
commit
6fc2eeaeaf
23 changed files with 1122 additions and 951 deletions
26
tests/src/Module/Api/Mastodon/Accounts/StatusesTest.php
Normal file
26
tests/src/Module/Api/Mastodon/Accounts/StatusesTest.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Test\src\Module\Api\Mastodon\Accounts;
|
||||
|
||||
use Friendica\Test\src\Module\Api\ApiTest;
|
||||
|
||||
class StatusesTest extends ApiTest
|
||||
{
|
||||
/**
|
||||
* Test the api_status_show() function.
|
||||
*/
|
||||
public function testApiStatusShowWithJson()
|
||||
{
|
||||
// $result = api_status_show('json', 1);
|
||||
// self::assertStatus($result['status']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_status_show() function with an XML result.
|
||||
*/
|
||||
public function testApiStatusShowWithXml()
|
||||
{
|
||||
// $result = api_status_show('xml', 1);
|
||||
// self::assertXml($result, 'statuses');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue