File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 7
7
enumerators :
8
8
name : Test Enumerators Endpoints
9
9
steps :
10
- # Test PUT with modified data
10
+ # Test PUT with modified data (preserving existing content and adding new test values)
11
11
- name : Put Enumerators
12
12
http :
13
13
url : http://${{env.host}}/api/enumerators/
@@ -23,6 +23,23 @@ tests:
23
23
{
24
24
"version": 1,
25
25
"enumerators": {
26
+ "default_status": {
27
+ "active": "Not Deleted",
28
+ "archived": "Soft Delete Indicator"
29
+ },
30
+ "test_enum": {
31
+ "foo": "bar"
32
+ }
33
+ }
34
+ },
35
+ {
36
+ "version": 2,
37
+ "enumerators": {
38
+ "default_status": {
39
+ "draft": "Draft",
40
+ "active": "Not Deleted",
41
+ "archived": "Soft Delete Indicator"
42
+ },
26
43
"test_enum": {
27
44
"foo": "bar"
28
45
}
33
50
status : /200/
34
51
jsonpath :
35
52
$[1].enumerators.test_enum.foo : " bar"
53
+ $[1].enumerators.default_status.active : " Not Deleted"
36
54
schema :
37
55
created_at :
38
56
type : string
52
70
status : /200/
53
71
jsonpath :
54
72
$[1].enumerators.test_enum.foo : " bar"
73
+ $[1].enumerators.default_status.active : " Not Deleted"
55
74
56
75
# Restore to original state from enumerators.json
57
76
- name : Restore Original Enumerators
You can’t perform that action at this time.
0 commit comments