From ba39321efe2b632392ecacbfefd0ce9fb18b4d59 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Sun, 25 Nov 2018 23:47:42 +0100 Subject: [PATCH] Solved namebug and formated code --- .../Entity/Meta/Relation/Parent/AbstractParentRelationTest.php | 3 ++- application/tests/Unit/Entity/Source/AbstractSourceTest.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/application/tests/Unit/Entity/Meta/Relation/Parent/AbstractParentRelationTest.php b/application/tests/Unit/Entity/Meta/Relation/Parent/AbstractParentRelationTest.php index 358154e..03f6a02 100644 --- a/application/tests/Unit/Entity/Meta/Relation/Parent/AbstractParentRelationTest.php +++ b/application/tests/Unit/Entity/Meta/Relation/Parent/AbstractParentRelationTest.php @@ -16,7 +16,8 @@ class AbstractParentRelationTest extends TestCase public function setUp(): void { - $this->relation = new class extends AbstractParentRelation{}; + $this->relation = new class() extends AbstractParentRelation { + }; } public function testConstructor(): void diff --git a/application/tests/Unit/Entity/Source/AbstractSourceTest.php b/application/tests/Unit/Entity/Source/AbstractSourceTest.php index 44298d5..cfbd6ed 100644 --- a/application/tests/Unit/Entity/Source/AbstractSourceTest.php +++ b/application/tests/Unit/Entity/Source/AbstractSourceTest.php @@ -8,7 +8,7 @@ use App\Entity\Meta\LawInterface; use Doctrine\Common\Collections\Collection; use App\Entity\Source\AbstractSource; use App\Entity\EntityInterface; -use App\Entity\Meta\Relation\CreatorRelationInterface; +use App\Entity\Meta\Relation\Parent\CreatorRelationInterface; /** * @author kevinfrantz