diff --git a/src/Bundle/ChillPersonBundle/Tests/Validator/Person/PersonHasCenterValidatorTest.php b/src/Bundle/ChillPersonBundle/Tests/Validator/Person/PersonHasCenterValidatorTest.php index 8cd0e6b83..a237b3571 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Validator/Person/PersonHasCenterValidatorTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Validator/Person/PersonHasCenterValidatorTest.php @@ -1,14 +1,18 @@ [ 'center_required' => true ] - ]) - ; + ]); - return new PersonHasCenterValidator($parameterBag); + $centerResolverDispatcher = $this->createMock(CenterResolverDispatcher::class); + + return new PersonHasCenterValidator($parameterBag, $centerResolverDispatcher); } }