Move API\Photo testcases

This commit is contained in:
Philipp 2021-11-12 21:12:00 +01:00
parent e477cf215d
commit f2ca21935e
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
4 changed files with 37 additions and 50 deletions

View file

@ -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.
*