@@ -485,20 +485,20 @@ private function generateStepsPhp($stepsObject, $stepsData, $hookObject = false)
485485 $ entityData = '[ ' ;
486486 foreach ($ stepsData [$ customActionAttributes ['name ' ]] as $ dataKey => $ dataValue ) {
487487 $ variableReplace = $ this ->resolveTestVariable ($ dataValue , true );
488- $ entityData .= sprintf ("'%s' => '%s' , " , $ dataKey , $ variableReplace );
488+ $ entityData .= sprintf ("\" %s \" => \" %s \" , " , $ dataKey , $ variableReplace );
489489 }
490490 $ entityData .= '] ' ;
491491 if ($ hookObject ) {
492492 $ testSteps .= sprintf (
493- "\t\t\$this->%s = new EntityDataObject('%s','%s' ,%s,null); \n" ,
493+ "\t\t\$this->%s = new EntityDataObject( \" %s \" , \" %s \" ,%s,null); \n" ,
494494 $ customActionAttributes ['name ' ],
495495 $ customActionAttributes ['name ' ],
496496 $ customActionAttributes ['type ' ],
497497 $ entityData
498498 );
499499 } else {
500500 $ testSteps .= sprintf (
501- "\t\t$%s = new EntityDataObject('%s','%s' ,%s,null); \n" ,
501+ "\t\t$%s = new EntityDataObject( \" %s \" , \" %s \" ,%s,null); \n" ,
502502 $ customActionAttributes ['name ' ],
503503 $ customActionAttributes ['name ' ],
504504 $ customActionAttributes ['type ' ],
0 commit comments