mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-17 22:36:14 +00:00
debug test on gitlab ci
This commit is contained in:
parent
a947b9defb
commit
a5295123d4
@ -12,6 +12,7 @@ declare(strict_types=1);
|
|||||||
namespace Chill\PersonBundle\Tests\Controller;
|
namespace Chill\PersonBundle\Tests\Controller;
|
||||||
|
|
||||||
use Chill\MainBundle\Entity\Center;
|
use Chill\MainBundle\Entity\Center;
|
||||||
|
use Chill\MainBundle\Repository\CenterRepository;
|
||||||
use Chill\MainBundle\Test\PrepareClientTrait;
|
use Chill\MainBundle\Test\PrepareClientTrait;
|
||||||
use Chill\PersonBundle\Entity\Person;
|
use Chill\PersonBundle\Entity\Person;
|
||||||
use Closure;
|
use Closure;
|
||||||
@ -60,9 +61,13 @@ final class PersonControllerUpdateTest extends WebTestCase
|
|||||||
$this->em = self::$container
|
$this->em = self::$container
|
||||||
->get(EntityManagerInterface::class);
|
->get(EntityManagerInterface::class);
|
||||||
|
|
||||||
$center = $this->em->getRepository(Center::class)
|
$center = self::$container->get(CenterRepository::class)
|
||||||
->findOneBy(['name' => 'Center A']);
|
->findOneBy(['name' => 'Center A']);
|
||||||
|
|
||||||
|
if (null === $center) {
|
||||||
|
dump(self::$container->get(CenterRepository::class)->findAll());
|
||||||
|
}
|
||||||
|
|
||||||
$this->person = (new Person())
|
$this->person = (new Person())
|
||||||
->setLastName('My Beloved')
|
->setLastName('My Beloved')
|
||||||
->setFirstName('Jesus')
|
->setFirstName('Jesus')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user