Skip to content

Commit

Permalink
test(spin): add failing test case for transient spin variables
Browse files Browse the repository at this point in the history
related to CAM-9932
  • Loading branch information
tasso94 committed Mar 17, 2019
1 parent cc58efc commit b4d74c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
public class JsonDelegate implements JavaDelegate {

public void execute(DelegateExecution execution) {
execution.setVariable("jsonVariable", Variables.untypedValue(jsonValue("{}")));
execution.setVariable("jsonVariable", Variables.untypedValue(jsonValue("{}"),true));

// when
TypedValue typedValue = execution.getVariableTyped("jsonVariable");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
public class XmlDelegate implements JavaDelegate {

public void execute(DelegateExecution execution) {
execution.setVariable("xmlVariable", Variables.untypedValue(xmlValue("<xml />")));
execution.setVariable("xmlVariable", Variables.untypedValue(xmlValue("<xml />"),true));

// when
TypedValue typedValue = execution.getVariableTyped("xmlVariable");
Expand Down

0 comments on commit b4d74c7

Please sign in to comment.