mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 05:47:11 +02:00
Implemented draft for PureSourceCreateType Test and adapted classes to it
This commit is contained in:
@@ -26,8 +26,7 @@ class IdAttributTest extends TestCase
|
||||
public function testConstruct(): void
|
||||
{
|
||||
$this->assertFalse($this->id->hasId());
|
||||
$this->expectException(\TypeError::class);
|
||||
$this->id->getId();
|
||||
$this->assertNull($this->id->getId());
|
||||
}
|
||||
|
||||
public function testAccessors(): void
|
||||
|
@@ -27,8 +27,7 @@ class SlugAttributTest extends TestCase
|
||||
public function testConstructor(): void
|
||||
{
|
||||
$this->assertFalse($this->slugAttribut->hasSlug());
|
||||
$this->expectException(\TypeError::class);
|
||||
$this->slugAttribut->getSlug();
|
||||
$this->assertNull($this->slugAttribut->getSlug());
|
||||
}
|
||||
|
||||
public function testAccessors(): void
|
||||
|
Reference in New Issue
Block a user