From 5b3f48a7be9fe679b67137912ddb98aeea6fe490 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Mon, 26 Nov 2018 22:36:08 +0100 Subject: [PATCH] Solved AbstractSourceTest --- application/tests/Unit/Entity/Source/AbstractSourceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/tests/Unit/Entity/Source/AbstractSourceTest.php b/application/tests/Unit/Entity/Source/AbstractSourceTest.php index cfbd6ed..9ba854e 100644 --- a/application/tests/Unit/Entity/Source/AbstractSourceTest.php +++ b/application/tests/Unit/Entity/Source/AbstractSourceTest.php @@ -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