fix tests

This commit is contained in:
Dennis Eichhorn 2022-11-25 21:50:07 +01:00
parent df7bbbdb66
commit 8c3d4fffa5
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ final class InstallerAbstractTest extends \PHPUnit\Framework\TestCase
*/ */
public function testInvalidModuleInstall() : void public function testInvalidModuleInstall() : void
{ {
$this->expectException(\Error::class); $this->expectException(\UnexpectedValueException::class);
$app = new class() extends ApplicationAbstract {}; $app = new class() extends ApplicationAbstract {};
$app->dbPool = $GLOBALS['dbpool']; $app->dbPool = $GLOBALS['dbpool'];

View File

@ -10,7 +10,7 @@ return [
'permission' => [ 'permission' => [
'module' => 'TEST', 'module' => 'TEST',
'type' => PermissionType::READ, 'type' => PermissionType::READ,
'state' => 1, 'category' => 1,
], ],
], ],
], ],

View File

@ -12,7 +12,7 @@ return [
'permission' => [ 'permission' => [
'module' => 'TEST', 'module' => 'TEST',
'type' => PermissionType::READ, 'type' => PermissionType::READ,
'state' => 1, 'category' => 1,
], ],
], ],
], ],