Added test for organisation revision
This commit is contained in:
parent
56bc7b83dd
commit
c29a480401
@ -41,7 +41,7 @@ class OCOrganisationRevisionRevertForm extends ConfirmFormBase {
|
|||||||
*/
|
*/
|
||||||
public static function create(ContainerInterface $container) {
|
public static function create(ContainerInterface $container) {
|
||||||
$instance = parent::create($container);
|
$instance = parent::create($container);
|
||||||
$instance->oCOrganisationStorage = $container->get('entity_type.manager')->getStorage('oc_organisation');
|
$instance->OCOrganisationStorage = $container->get('entity_type.manager')->getStorage('oc_organisation');
|
||||||
$instance->dateFormatter = $container->get('date.formatter');
|
$instance->dateFormatter = $container->get('date.formatter');
|
||||||
return $instance;
|
return $instance;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user