Skip to content

Commit

Permalink
(fix): Fix bug for test data function
Browse files Browse the repository at this point in the history
  • Loading branch information
tarun-testsigma committed Mar 7, 2023
1 parent abd7d4c commit aaeb6d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ private void populateTestDataFunctionDetailsFromMap(DefaultDataGeneratorsEntity
DefaultDataGenerator defaultDataGenerator = defaultDataGeneratorService.find(testStepDTO.getTestDataFunctionId());
defaultDataGeneratorsEntity.setClassName(defaultDataGenerator.getFile().getClassName());
defaultDataGeneratorsEntity.setFunctionName(defaultDataGenerator.getFunctionName());
Map<String, String> args = (HashMap) defaultDataGenerator.getArguments();
Map<String, String> args = (HashMap) testStepDTO.getTestDataFunctionArgs();
defaultDataGeneratorsEntity.setArguments(args);
Map<String, String> argsTypes = (HashMap) defaultDataGenerator.getArguments().get("arg_types");
defaultDataGeneratorsEntity.setArgumentTypes(argsTypes);
Expand Down

0 comments on commit aaeb6d4

Please sign in to comment.