Skip to content

Commit b52c1b3

Browse files
committed
MQE-629: formatMoney is not correctly generated in the PHP
- Corrected the formatMoney case statement in the Test Generator.
1 parent 8997ba3 commit b52c1b3

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
@@ -898,6 +898,14 @@ private function generateStepsPhp($stepsObject, $hookObject = false)
898898
$testSteps .= $this->wrapFunctionCall($actor, $actionName, $input, $time, $selector);
899899
break;
900900
case "formatMoney":
901+
$testSteps .= $this->wrapFunctionCallWithReturnValue(
902+
$stepKey,
903+
$actor,
904+
$actionName,
905+
$input,
906+
$locale
907+
);
908+
break;
901909
case "mSetLocale":
902910
$testSteps .= $this->wrapFunctionCall($actor, $actionName, $input, $locale);
903911
break;

0 commit comments

Comments
 (0)