setup phpunit for testing

This commit is contained in:
Jannis Portmann 2021-05-06 11:31:06 +02:00
parent 1680667cf1
commit af34c70b90
8 changed files with 629 additions and 4 deletions

View file

@ -39,8 +39,7 @@ class UserRepository extends ServiceEntityRepository implements PasswordUpgrader
// /**
// * @return User[] Returns an array of User objects
// */
/*
public function findByExampleField($value)
public function findByEmail($value)
{
return $this->createQueryBuilder('u')
->andWhere('u.exampleField = :val')
@ -51,7 +50,6 @@ class UserRepository extends ServiceEntityRepository implements PasswordUpgrader
->getResult()
;
}
*/
/*
public function findOneBySomeField($value): ?User