1
0
Fork 0

Moved API\Notification tests

This commit is contained in:
Philipp Holzer 2021-11-12 21:35:21 +01:00
commit 6725f05ab2
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
8 changed files with 161 additions and 86 deletions

View file

@ -10,19 +10,19 @@ class UpdateTest extends ApiTest
{
public function testEmpty()
{
self::expectException(BadRequestException::class);
$this->expectException(BadRequestException::class);
Update::rawContent();
}
public function testTooFewArgs()
{
self::expectException(BadRequestException::class);
$this->expectException(BadRequestException::class);
Update::rawContent(['album' => 'album_name']);
}
public function testWrongUpdate()
{
self::expectException(BadRequestException::class);
$this->expectException(BadRequestException::class);
Update::rawContent(['album' => 'album_name', 'album_new' => 'album_name']);
}