Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
7feeb44c
Commit
7feeb44c
authored
Jun 26, 2020
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3154461
by Hardik_Patel_12: Removing getFormObject call from UserAccountFormFieldsTest
(cherry picked from commit
e76396d4
)
parent
686f68e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php
...dules/user/tests/src/Kernel/UserAccountFormFieldsTest.php
+0
-3
No files found.
core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php
View file @
7feeb44c
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment