Implemented tests for GroupSource

This commit is contained in:
Kevin Frantz
2018-10-28 22:31:56 +01:00
parent 157fe99469
commit 6e058e61b5
2 changed files with 41 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\Collection;
use App\Entity\Source\Attribut\MembersAttributInterface;
use App\Entity\Source\Attribut\MembersAttribut;
use Doctrine\Common\Collections\ArrayCollection;
/**
*
@@ -22,5 +23,10 @@ final class GroupSource extends AbstractSource implements MembersAttributInterfa
* @ORM\ManyToMany(targetEntity="AbstractSource")
*/
protected $members;
public function __construct() {
parent::__construct();
$this->members = new ArrayCollection();
}
}