File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
lib/internal/Magento/Framework/View
Test/Unit/Layout/Generator Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -84,15 +84,6 @@ public function generateContainer(
84
84
$ elementName ,
85
85
$ options
86
86
) {
87
- if (isset ($ options [Layout \Element::CONTAINER_OPT_LABEL ])) {
88
- $ structure ->setAttribute (
89
- $ elementName ,
90
- Layout \Element::CONTAINER_OPT_LABEL ,
91
- $ options [Layout \Element::CONTAINER_OPT_LABEL ]
92
- );
93
- unset($ options [Layout \Element::CONTAINER_OPT_LABEL ]);
94
- }
95
-
96
87
unset($ options ['type ' ]);
97
88
98
89
$ this ->validateOptions ($ options );
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ public function testProcessWithException($structureElements)
152
152
->method ('getElements ' )
153
153
->willReturn ($ structureElements );
154
154
155
- $ this ->structureMock ->expects ($ this ->once ())
155
+ $ this ->structureMock ->expects ($ this ->never ())
156
156
->method ('setAttribute ' )
157
157
->willReturnSelf ();
158
158
You can’t perform that action at this time.
0 commit comments