Commit 7feeb44c authored by catch's avatar catch
Browse files

Issue #3154461 by Hardik_Patel_12: Removing getFormObject call from UserAccountFormFieldsTest

(cherry picked from commit e76396d4)
parent 686f68e9
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);