Added test for organisation revision
This commit is contained in:
		| @ -41,14 +41,14 @@ class OCOrganisationRevisionRevertForm extends ConfirmFormBase { | ||||
|    */ | ||||
|   public static function create(ContainerInterface $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'); | ||||
|     return $instance; | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|    * {@inheritdoc} | ||||
|    */ | ||||
|    */  | ||||
|   public function getFormId() { | ||||
|     return 'oc_organisation_revision_revert_confirm'; | ||||
|   } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user