Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
221
Merge Requests
221
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
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
Hide 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) {
...
@@ -135,9 +135,6 @@ protected function buildAccountForm($operation) {
$entity
=
$this
->
container
->
get
(
'entity_type.manager'
)
$entity
=
$this
->
container
->
get
(
'entity_type.manager'
)
->
getStorage
(
$entity_type
)
->
getStorage
(
$entity_type
)
->
create
(
$fields
);
->
create
(
$fields
);
$this
->
container
->
get
(
'entity_type.manager'
)
->
getFormObject
(
$entity_type
,
$operation
)
->
setEntity
(
$entity
);
// @see EntityFormBuilder::getForm()
// @see EntityFormBuilder::getForm()
return
$this
->
container
->
get
(
'entity.form_builder'
)
->
getForm
(
$entity
,
$operation
);
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