mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 06:48: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
|
* @covers phpOMS\Account\PermissionAbstract
|
||||||
* @group framework
|
* @group framework
|
||||||
*/
|
*/
|
||||||
public function testTypeInputOutput() : void
|
public function testCategoryInputOutput() : void
|
||||||
{
|
{
|
||||||
$perm = new class() extends PermissionAbstract {};
|
$perm = new class() extends PermissionAbstract {};
|
||||||
|
|
||||||
$perm->setType(4);
|
$perm->setCategory(4);
|
||||||
self::assertEquals(4, $perm->getType());
|
self::assertEquals(4, $perm->getCategory());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user