mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Implemented Tests for grant attribut
This commit is contained in:
@@ -28,6 +28,7 @@ class RightTest extends TestCase
|
||||
public function testConstructorGeneral(): void
|
||||
{
|
||||
$this->assertEquals($this->right, $this->right->getReciever()->getRight());
|
||||
$this->assertTrue($this->right->getGrant());
|
||||
$this->expectException(\TypeError::class);
|
||||
$this->assertNull($this->right->getLaw());
|
||||
}
|
||||
|
Reference in New Issue
Block a user