mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:10:12 +00:00
Merge remote-tracking branch 'upstream/develop' into api4
This commit is contained in:
commit
b67c10812a
272 changed files with 989 additions and 963 deletions
|
@ -10,7 +10,8 @@ class RateLimitStatusTest extends ApiTest
|
|||
{
|
||||
public function testWithJson()
|
||||
{
|
||||
RateLimitStatus::rawContent(['extension' => 'json']);
|
||||
$rateLimitStatus = new RateLimitStatus(['extension' => 'json']);
|
||||
$rateLimitStatus->rawContent();
|
||||
|
||||
$result = json_decode(ApiResponseDouble::getOutput());
|
||||
|
||||
|
@ -21,7 +22,8 @@ class RateLimitStatusTest extends ApiTest
|
|||
|
||||
public function testWithXml()
|
||||
{
|
||||
RateLimitStatus::rawContent(['extension' => 'xml']);
|
||||
$rateLimitStatus = new RateLimitStatus(['extension' => 'xml']);
|
||||
$rateLimitStatus->rawContent();
|
||||
|
||||
self::assertXml(ApiResponseDouble::getOutput(), 'hash');
|
||||
}
|
||||
|
|
|
@ -10,7 +10,8 @@ class SavedSearchesTest extends ApiTest
|
|||
{
|
||||
public function test()
|
||||
{
|
||||
SavedSearches::rawContent(['extension' => 'json']);
|
||||
$savedSearch = new SavedSearches(['extension' => 'json']);
|
||||
$savedSearch->rawContent();
|
||||
|
||||
$result = json_decode(ApiResponseDouble::getOutput());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue