Added test for organisation revision

This commit is contained in:
naomi 2022-05-27 09:34:37 +01:00
parent 56bc7b83dd
commit c29a480401

View File

@ -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;
} }