mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
QQQ-7 Adding an outputMessage to the mock function, to work for the "greet" process
This commit is contained in:
@ -41,5 +41,10 @@ public class MockFunctionBody implements FunctionBody
|
|||||||
|
|
||||||
runFunctionResult.setValues(runFunctionRequest.getValues());
|
runFunctionResult.setValues(runFunctionRequest.getValues());
|
||||||
runFunctionResult.addValue("mockValue", "You so silly");
|
runFunctionResult.addValue("mockValue", "You so silly");
|
||||||
|
|
||||||
|
/////////////////////////////////
|
||||||
|
// mock the "greet" process... //
|
||||||
|
/////////////////////////////////
|
||||||
|
runFunctionResult.addValue("outputMessage", runFunctionRequest.getValueString("greetingPrefix") + " X " + runFunctionRequest.getValueString("greetingSuffix") );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user