@@ -485,20 +485,20 @@ private function generateStepsPhp($stepsObject, $stepsData, $hookObject = false)
485
485
$ entityData = '[ ' ;
486
486
foreach ($ stepsData [$ customActionAttributes ['name ' ]] as $ dataKey => $ dataValue ) {
487
487
$ variableReplace = $ this ->resolveTestVariable ($ dataValue , true );
488
- $ entityData .= sprintf ("'%s' => '%s' , " , $ dataKey , $ variableReplace );
488
+ $ entityData .= sprintf ("\" %s \" => \" %s \" , " , $ dataKey , $ variableReplace );
489
489
}
490
490
$ entityData .= '] ' ;
491
491
if ($ hookObject ) {
492
492
$ 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" ,
494
494
$ customActionAttributes ['name ' ],
495
495
$ customActionAttributes ['name ' ],
496
496
$ customActionAttributes ['type ' ],
497
497
$ entityData
498
498
);
499
499
} else {
500
500
$ testSteps .= sprintf (
501
- "\t\t$%s = new EntityDataObject('%s','%s' ,%s,null); \n" ,
501
+ "\t\t$%s = new EntityDataObject( \" %s \" , \" %s \" ,%s,null); \n" ,
502
502
$ customActionAttributes ['name ' ],
503
503
$ customActionAttributes ['name ' ],
504
504
$ customActionAttributes ['type ' ],
0 commit comments