]> git.mxchange.org Git - friendica.git/blob - tests/src/Module/Api/Friendica/Photoalbum/DeleteTest.php
Move API\Photo testcases
[friendica.git] / tests / src / Module / Api / Friendica / Photoalbum / DeleteTest.php
1 <?php
2
3 namespace Friendica\Test\src\Module\Api\Friendica\Photoalbum;
4
5 use Friendica\Module\Api\Friendica\Photoalbum\Delete;
6 use Friendica\Network\HTTPException\BadRequestException;
7 use Friendica\Test\src\Module\Api\ApiTest;
8
9 class DeleteTest extends ApiTest
10 {
11         public function testEmpty()
12         {
13                 self::expectException(BadRequestException::class);
14                 Delete::rawContent();
15         }
16
17         public function testWrong()
18         {
19                 self::expectException(BadRequestException::class);
20                 Delete::rawContent(['album' => 'album_name']);
21         }
22
23         public function testValid()
24         {
25                 self::markTestIncomplete('We need to add a dataset for this.');
26         }
27 }