Solved unit tests

This commit is contained in:
Kevin Frantz
2018-11-15 20:30:34 +01:00
parent de66375ee0
commit 7be76cac0d
14 changed files with 41 additions and 59 deletions

View File

@@ -1,10 +1,9 @@
<?php
namespace App\Entity\Source\Data;
namespace App\Entity\Source\Combination;
use App\Entity\Attribut\FullPersonNameSourceAttribut;
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
use App\Entity\Source\Combination\FullPersonNameSource;
use App\Entity\Source\Data\AbstractDataSource;
class PersonIdentitySource extends AbstractDataSource implements PersonIdentitySourceInterface
{

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Entity\Source\Data;
namespace App\Entity\Source\Combination;
use App\Entity\Attribut\FullPersonNameSourceAttributInterface;
interface PersonIdentitySourceInterface extends DataSourceInterface, FullPersonNameSourceAttributInterface
interface PersonIdentitySourceInterface extends CombinationSourceInterface, FullPersonNameSourceAttributInterface
{
}

View File

@@ -24,8 +24,16 @@ class UserSource extends AbstractCombinationSource implements UserSourceInterfac
*/
protected $user;
/**
* @todo Implement ORM mapping for database!
*
* @var PersonIdentitySourceInterface
*/
protected $personIdentitySource;
public function __construct()
{
$this->personIdentitySource = new PersonIdentitySource();
parent::__construct();
}
}