mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-11 05:28:41 +00:00
37 lines
807 B
PHP
Executable File
37 lines
807 B
PHP
Executable File
<?php
|
|
/**
|
|
* Jingga
|
|
*
|
|
* PHP Version 8.1
|
|
*
|
|
* @package tests
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Admin\tests\Models;
|
|
|
|
use Modules\Admin\Models\AccountPermission;
|
|
|
|
/**
|
|
* @testdox Modules\Admin\tests\Models\AccountPermissionTest: Account permission
|
|
*
|
|
* @internal
|
|
*/
|
|
final class AccountPermissionTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
/**
|
|
* @testdox The account permission has the expected default values after initialization
|
|
* @covers \Modules\Admin\Models\AccountPermission
|
|
* @group module
|
|
*/
|
|
public function testDefault() : void
|
|
{
|
|
$account = new AccountPermission();
|
|
self::assertEquals(0, $account->getAccount());
|
|
}
|
|
}
|