mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 14:07:25 +01:00
Adapted test for ParentRelation
This commit is contained in:
parent
0c5f6af4c7
commit
960af1961a
@ -3,20 +3,20 @@
|
|||||||
namespace tests\Unit\Entity\Meta;
|
namespace tests\Unit\Entity\Meta;
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use App\Entity\Meta\RelationInterface;
|
|
||||||
use App\Entity\Meta\Relation;
|
|
||||||
use Doctrine\Common\Collections\Collection;
|
use Doctrine\Common\Collections\Collection;
|
||||||
|
use App\Entity\Meta\Relation\Parent\AbstractParentRelation;
|
||||||
|
use App\Entity\Meta\Relation\Parent\ParentRelationInterface;
|
||||||
|
|
||||||
class RelationTest extends TestCase
|
class AbstractParentRelationTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var RelationInterface
|
* @var ParentRelationInterface
|
||||||
*/
|
*/
|
||||||
protected $relation;
|
protected $relation;
|
||||||
|
|
||||||
public function setUp(): void
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
$this->relation = new Relation();
|
$this->relation = new class extends AbstractParentRelation{};
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testConstructor(): void
|
public function testConstructor(): void
|
Loading…
Reference in New Issue
Block a user