mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-11 21:38:40 +00:00
37 lines
802 B
PHP
37 lines
802 B
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.4
|
|
*
|
|
* @package tests
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link https://orange-management.org
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Admin\tests\Models;
|
|
|
|
use Modules\Admin\Models\GroupPermission;
|
|
|
|
/**
|
|
* @testdox Modules\Admin\tests\Models\GroupPermissionTest: Group permission
|
|
*
|
|
* @internal
|
|
*/
|
|
class GroupPermissionTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
/**
|
|
* @testdox The group permission has the expected default values after initialization
|
|
* @covers Modules\Admin\Models\GroupPermission
|
|
* @group module
|
|
*/
|
|
public function testDefault() : void
|
|
{
|
|
$group = new GroupPermission();
|
|
self::assertEquals(0, $group->getGroup());
|
|
}
|
|
}
|