diff --git a/src/Bundle/ChillMainBundle/Tests/Templating/Entity/UserRenderTest.php b/src/Bundle/ChillMainBundle/Tests/Templating/Entity/UserRenderTest.php index e7cee62d7..06ea12d30 100644 --- a/src/Bundle/ChillMainBundle/Tests/Templating/Entity/UserRenderTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Templating/Entity/UserRenderTest.php @@ -50,7 +50,8 @@ class UserRenderTest extends WebTestCase $userJobA = new UserJob(); $scopeA = new Scope(); - $userJobA->setLabel(['fr' => 'assistant social']); + $userJobA->setLabel(['fr' => 'assistant social']) + ->setActive(true); $scopeA->setName(['fr' => 'service A']); $user->setLabel('BOB ISLA'); // $user->setPhonenumber(PhoneNumberUtil::getInstance()->parse('+32475928635')); @@ -59,7 +60,8 @@ class UserRenderTest extends WebTestCase $userJobB = new UserJob(); $scopeB = new Scope(); - $userJobB->setLabel(['fr' => 'directrice']); + $userJobB->setLabel(['fr' => 'directrice']) + ->setActive(true); $scopeB->setName(['fr' => 'service B']); $userJobHistoryA = (new User\UserJobHistory())