Skip to content

Commit 6edbc17

Browse files
ivy00johnsokolesnyk
authored andcommitted
MQE-629: formatMoney is not correctly generated in the PHP
- Corrected the formatMoney case statement in the Test Generator.
1 parent 9df9261 commit 6edbc17

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,14 @@ private function generateStepsPhp($stepsObject, $hookObject = false)
893893
$testSteps .= $this->wrapFunctionCall($actor, $actionName, $input, $time, $selector);
894894
break;
895895
case "formatMoney":
896+
$testSteps .= $this->wrapFunctionCallWithReturnValue(
897+
$stepKey,
898+
$actor,
899+
$actionName,
900+
$input,
901+
$locale
902+
);
903+
break;
896904
case "mSetLocale":
897905
$testSteps .= $this->wrapFunctionCall($actor, $actionName, $input, $locale);
898906
break;

0 commit comments

Comments
 (0)