mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Move API\Photo testcases
This commit is contained in:
parent
e477cf215d
commit
f2ca21935e
4 changed files with 37 additions and 50 deletions
|
@ -3254,51 +3254,6 @@ class ApiTest extends FixtureTest
|
|||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_fr_photo_delete() function.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testApiFrPhotoDelete()
|
||||
{
|
||||
// $this->expectException(\Friendica\Network\HTTPException\BadRequestException::class);
|
||||
// api_fr_photo_delete('json');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_fr_photo_delete() function without an authenticated user.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testApiFrPhotoDeleteWithoutAuthenticatedUser()
|
||||
{
|
||||
// $this->expectException(\Friendica\Network\HTTPException\ForbiddenException::class);
|
||||
// $_SESSION['authenticated'] = false;
|
||||
// api_fr_photo_delete('json');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_fr_photo_delete() function with a photo ID.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testApiFrPhotoDeleteWithPhotoId()
|
||||
{
|
||||
// $this->expectException(\Friendica\Network\HTTPException\BadRequestException::class);
|
||||
// $_REQUEST['photo_id'] = 1;
|
||||
// api_fr_photo_delete('json');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_fr_photo_delete() function with a correct photo ID.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testApiFrPhotoDeleteWithCorrectPhotoId()
|
||||
{
|
||||
$this->markTestIncomplete('We need to create a dataset for this.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the api_fr_photo_detail() function.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue