mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-22 06:18:41 +00:00
fix test
This commit is contained in:
parent
143b39a5ee
commit
d63a71a8de
|
|
@ -118,16 +118,16 @@ final class PermissionAbstractTest extends \PHPUnit\Framework\TestCase
|
|||
}
|
||||
|
||||
/**
|
||||
* @testdox The type can be set and returned correctly
|
||||
* @testdox The category can be set and returned correctly
|
||||
* @covers phpOMS\Account\PermissionAbstract
|
||||
* @group framework
|
||||
*/
|
||||
public function testTypeInputOutput() : void
|
||||
public function testCategoryInputOutput() : void
|
||||
{
|
||||
$perm = new class() extends PermissionAbstract {};
|
||||
|
||||
$perm->setType(4);
|
||||
self::assertEquals(4, $perm->getType());
|
||||
$perm->setCategory(4);
|
||||
self::assertEquals(4, $perm->getCategory());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user