Skip to content

Commit

Permalink
tests: added @current and @next to the test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
leonsteinhaeuser committed Jul 14, 2022
1 parent 638dedf commit f491c0d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test_organization.sh
Expand Up @@ -53,3 +53,23 @@ custom_fields="[
ENTRYPOINT_TYPE=custom_field
RESOURCE_NODE_VALUE=$custom_fields
$ENTRYPOINT_SCRIPT "$ENTRYPOINT_MODE" "$ENTRYPOINT_TYPE" "$ORG_OR_USER_NAME" "$PROJECT_ID" "$RESOURCE_NODE_ID" "$RESOURCE_NODE_VALUE"

custom_fields="[
{
\"name\": \"Iteration\",
\"type\": \"iteration\",
\"value\": \"@next\"
}
]"
RESOURCE_NODE_VALUE=$custom_fields
$ENTRYPOINT_SCRIPT "$ENTRYPOINT_MODE" "$ENTRYPOINT_TYPE" "$ORG_OR_USER_NAME" "$PROJECT_ID" "$RESOURCE_NODE_ID" "$RESOURCE_NODE_VALUE"

custom_fields="[
{
\"name\": \"Iteration\",
\"type\": \"iteration\",
\"value\": \"@current\"
}
]"
RESOURCE_NODE_VALUE=$custom_fields
$ENTRYPOINT_SCRIPT "$ENTRYPOINT_MODE" "$ENTRYPOINT_TYPE" "$ORG_OR_USER_NAME" "$PROJECT_ID" "$RESOURCE_NODE_ID" "$RESOURCE_NODE_VALUE"
21 changes: 21 additions & 0 deletions test_user.sh
Expand Up @@ -52,3 +52,24 @@ custom_fields="[
ENTRYPOINT_TYPE=custom_field
RESOURCE_NODE_VALUE=$custom_fields
$ENTRYPOINT_SCRIPT "$ENTRYPOINT_MODE" "$ENTRYPOINT_TYPE" "$ORG_OR_USER_NAME" "$PROJECT_ID" "$RESOURCE_NODE_ID" "$RESOURCE_NODE_VALUE"


custom_fields="[
{
\"name\": \"Iteration\",
\"type\": \"iteration\",
\"value\": \"@next\"
}
]"
RESOURCE_NODE_VALUE=$custom_fields
$ENTRYPOINT_SCRIPT "$ENTRYPOINT_MODE" "$ENTRYPOINT_TYPE" "$ORG_OR_USER_NAME" "$PROJECT_ID" "$RESOURCE_NODE_ID" "$RESOURCE_NODE_VALUE"

custom_fields="[
{
\"name\": \"Iteration\",
\"type\": \"iteration\",
\"value\": \"@current\"
}
]"
RESOURCE_NODE_VALUE=$custom_fields
$ENTRYPOINT_SCRIPT "$ENTRYPOINT_MODE" "$ENTRYPOINT_TYPE" "$ORG_OR_USER_NAME" "$PROJECT_ID" "$RESOURCE_NODE_ID" "$RESOURCE_NODE_VALUE"

0 comments on commit f491c0d

Please sign in to comment.