Skip to content

Commit 6ea6b98

Browse files
committed
test: hidden property without value should be deprecated
1 parent 32b15fa commit 6ea6b98

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
export const template = {
2+
'name': 'HiddenProperty',
3+
'id': 'com.camunda.example.HiddenProperty',
4+
'appliesTo': [
5+
'bpmn:Task'
6+
],
7+
'elementType': {
8+
'value': 'bpmn:BusinessRuleTask'
9+
},
10+
'properties': [
11+
{
12+
'type': 'Hidden',
13+
'value': 'decision',
14+
'binding': {
15+
'type': 'zeebe:calledDecision',
16+
'property': 'decisionId'
17+
}
18+
},
19+
{
20+
'type': 'Hidden',
21+
'binding': {
22+
'type': 'zeebe:calledDecision',
23+
'property': 'resultVariable'
24+
}
25+
}
26+
]
27+
};
28+
29+
export const errors = null;

packages/zeebe-element-templates-json-schema/test/spec/validationSpec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ describe('validation', function() {
199199
it('element-type-invalid');
200200

201201

202+
it('hidden-property');
203+
204+
202205
describe('element type - event definition', function() {
203206

204207
it('element-type-event-definition');

0 commit comments

Comments
 (0)