mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
check acl before showing button for creating activity in person/activity
This commit is contained in:
@@ -54,6 +54,7 @@ class PersonHasCenterValidatorTest extends ConstraintValidatorTestCase
|
||||
]);
|
||||
|
||||
$prophecy = $this->prophesize(CenterResolverManagerInterface::class);
|
||||
|
||||
$prophecy->resolveCenters(Argument::type(Person::class), Argument::any())->will(function ($args) {
|
||||
$center = $args[0]->getCenter();
|
||||
|
||||
|
Reference in New Issue
Block a user