mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-18 06:46:11 +00:00
more debug for test PersonUpdatecontroller
This commit is contained in:
parent
a5295123d4
commit
83a9969220
@ -64,9 +64,10 @@ final class PersonControllerUpdateTest extends WebTestCase
|
|||||||
$center = self::$container->get(CenterRepository::class)
|
$center = self::$container->get(CenterRepository::class)
|
||||||
->findOneBy(['name' => 'Center A']);
|
->findOneBy(['name' => 'Center A']);
|
||||||
|
|
||||||
if (null === $center) {
|
var_dump(array_map(
|
||||||
dump(self::$container->get(CenterRepository::class)->findAll());
|
function (Center $c) { return $c->getName(); },
|
||||||
}
|
self::$container->get(CenterRepository::class)->findAll()
|
||||||
|
));
|
||||||
|
|
||||||
$this->person = (new Person())
|
$this->person = (new Person())
|
||||||
->setLastName('My Beloved')
|
->setLastName('My Beloved')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user