Skip to content

Commit 0ad8a98

Browse files
committed
MQE-550: [Unit Test] ActionObject.php
- CS fixes.
1 parent c261905 commit 0ad8a98

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/Test/Objects/ActionObjectTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function testResolveSelectorWithManyParams()
166166
]);
167167

168168
// Mock SectionHandler
169-
$elementObject = new ElementObject('elementObject', 'button', '#{{var1}}[{{var2}}, {{var3}}]', null, '42', true);
169+
$elementObject = new ElementObject('elementObject', 'button', '#{{var1}}[{{var2}},{{var3}}]', null, '42', true);
170170
$sectionObject = new SectionObject('SectionObject', ['elementObject' => $elementObject]);
171171
$sectionInstance = AspectMock::double(SectionObjectHandler::class, ['getObject' => $sectionObject])
172172
->make(); // bypass the private constructor
@@ -183,7 +183,7 @@ public function testResolveSelectorWithManyParams()
183183

184184
// Verify
185185
$expected = [
186-
'selector' => '#stringLiteral[myValue, $data.key$]',
186+
'selector' => '#stringLiteral[myValue,$data.key$]',
187187
'userInput' => 'Input'
188188
];
189189
$this->assertEquals($expected, $actionObject->getCustomActionAttributes());
@@ -279,7 +279,6 @@ public function testResolveDataInUserInput()
279279
$this->assertEquals($expected, $actionObject->getCustomActionAttributes());
280280
}
281281

282-
283282
/**
284283
* Action object should throw an exception if a reference to a parameterized selector has too few given args.
285284
*/

0 commit comments

Comments
 (0)