diff --git a/src/Bundle/ChillPersonBundle/Tests/Service/DocGenerator/PersonContextTest.php b/src/Bundle/ChillPersonBundle/Tests/Service/DocGenerator/PersonContextTest.php index 71fce8c92..5744c1c42 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Service/DocGenerator/PersonContextTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Service/DocGenerator/PersonContextTest.php @@ -292,7 +292,7 @@ final class PersonContextTest extends KernelTestCase $em->persist(Argument::type(PersonDocument::class)) ->should(static function ($calls, $object, $method) use ($scope) { if (1 !== count($calls)) { - throw new FailedPredictionException(sprintf('the persist should be called exactly once, %d receivved', count($calls))); + throw new FailedPredictionException(sprintf('the persist should be called exactly once, %d received', count($calls))); } /** @var PersonDocument $personDocument */ @@ -315,7 +315,7 @@ final class PersonContextTest extends KernelTestCase $em->reveal(), ); - $personContext->buildPublicForm($this->buildFormBuilder(true), $docGen, $person); + $personContext->buildPublicForm($this->buildFormBuilder(false), $docGen, $person); $personContext->storeGenerated( $docGen,