This commit is contained in:
Dennis Eichhorn 2022-03-18 19:51:37 +01:00
parent 143b39a5ee
commit d63a71a8de

View File

@ -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());
} }
/** /**