mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 06:01:35 +01:00
Solved AbstractSourceTest
This commit is contained in:
parent
50685e17f5
commit
5b3f48a7be
@ -36,10 +36,10 @@ class AbstractSourceTest extends TestCase
|
||||
$this->assertInstanceOf(EntityInterface::class, $this->source);
|
||||
$this->assertInstanceOf(CreatorRelationInterface::class, $this->source->getCreatorRelation());
|
||||
$this->assertEquals($this->source, $this->source->getCreatorRelation()->getSource());
|
||||
$this->assertInstanceOf(Collection::class, $this->source->getMemberships());
|
||||
$this->assertInstanceOf(Collection::class, $this->source->getMemberRelation()->getMemberships());
|
||||
$this->assertInstanceOf(LawInterface::class, $this->source->getLaw());
|
||||
$this->assertEquals($this->source, $this->source->getLaw()->getSource());
|
||||
$this->assertInstanceOf(Collection::class, $this->source->getMembers());
|
||||
$this->assertInstanceOf(Collection::class, $this->source->getMemberRelation()->getMembers());
|
||||
}
|
||||
|
||||
public function testSlugInit(): void
|
||||
|
Loading…
Reference in New Issue
Block a user