Commit e76396d4 authored by catch's avatar catch

Issue #3154461 by Hardik_Patel_12: Removing getFormObject call from UserAccountFormFieldsTest

parent e2fc217b
......@@ -135,9 +135,6 @@ protected function buildAccountForm($operation) {
$entity = $this->container->get('entity_type.manager')
->getStorage($entity_type)
->create($fields);
$this->container->get('entity_type.manager')
->getFormObject($entity_type, $operation)
->setEntity($entity);
// @see EntityFormBuilder::getForm()
return $this->container->get('entity.form_builder')->getForm($entity, $operation);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment