mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
fix tests
This commit is contained in:
parent
df7bbbdb66
commit
8c3d4fffa5
|
|
@ -48,7 +48,7 @@ final class InstallerAbstractTest extends \PHPUnit\Framework\TestCase
|
|||
*/
|
||||
public function testInvalidModuleInstall() : void
|
||||
{
|
||||
$this->expectException(\Error::class);
|
||||
$this->expectException(\UnexpectedValueException::class);
|
||||
|
||||
$app = new class() extends ApplicationAbstract {};
|
||||
$app->dbPool = $GLOBALS['dbpool'];
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ return [
|
|||
'permission' => [
|
||||
'module' => 'TEST',
|
||||
'type' => PermissionType::READ,
|
||||
'state' => 1,
|
||||
'category' => 1,
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ return [
|
|||
'permission' => [
|
||||
'module' => 'TEST',
|
||||
'type' => PermissionType::READ,
|
||||
'state' => 1,
|
||||
'category' => 1,
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user