@@ -21,7 +21,8 @@ describe('DynamicPolicyResolverFactory', () => {
21
21
std : {
22
22
ping : {
23
23
request : REQUEST_POLICIES_WITH_DEFAULTS . DEFAULT_KEYLESS ,
24
- response : RESPONSE_POLICIES_WITH_DEFAULTS . DEFAULT_KEYLESS
24
+ response : RESPONSE_POLICIES_WITH_DEFAULTS . DEFAULT_KEYLESS ,
25
+ isKeyless : true
25
26
}
26
27
}
27
28
} ) ;
@@ -50,7 +51,8 @@ describe('DynamicPolicyResolverFactory', () => {
50
51
step : 0 ,
51
52
categories : new Set ( ) ,
52
53
policies : { request : undefined , response : undefined } ,
53
- isKeyless : true
54
+ isKeyless : true ,
55
+ subcommands : [ ]
54
56
}
55
57
] ;
56
58
@@ -76,7 +78,8 @@ describe('DynamicPolicyResolverFactory', () => {
76
78
step : 1 ,
77
79
categories : new Set ( ) ,
78
80
policies : { request : undefined , response : undefined } ,
79
- isKeyless : false
81
+ isKeyless : false ,
82
+ subcommands : [ ]
80
83
}
81
84
] ;
82
85
@@ -102,7 +105,8 @@ describe('DynamicPolicyResolverFactory', () => {
102
105
step : 0 ,
103
106
categories : new Set ( ) ,
104
107
policies : { request : 'all_shards' , response : 'agg_sum' } ,
105
- isKeyless : true
108
+ isKeyless : true ,
109
+ subcommands : [ ]
106
110
}
107
111
] ;
108
112
@@ -128,7 +132,8 @@ describe('DynamicPolicyResolverFactory', () => {
128
132
step : 1 ,
129
133
categories : new Set ( ) ,
130
134
policies : { request : 'all_shards' , response : 'special' } ,
131
- isKeyless : false
135
+ isKeyless : false ,
136
+ subcommands : [ ]
132
137
}
133
138
] ;
134
139
@@ -154,7 +159,8 @@ describe('DynamicPolicyResolverFactory', () => {
154
159
step : 0 ,
155
160
categories : new Set ( ) ,
156
161
policies : { request : undefined , response : undefined } ,
157
- isKeyless : true
162
+ isKeyless : true ,
163
+ subcommands : [ ]
158
164
}
159
165
] ;
160
166
@@ -182,7 +188,8 @@ describe('DynamicPolicyResolverFactory', () => {
182
188
step : 0 ,
183
189
categories : new Set ( ) ,
184
190
policies : { request : undefined , response : undefined } ,
185
- isKeyless : true
191
+ isKeyless : true ,
192
+ subcommands : [ ]
186
193
}
187
194
] ;
188
195
@@ -233,7 +240,8 @@ describe('DynamicPolicyResolverFactory', () => {
233
240
step : 0 ,
234
241
categories : new Set ( ) ,
235
242
policies : { request : 'all_nodes' , response : undefined } ,
236
- isKeyless : false
243
+ isKeyless : false ,
244
+ subcommands : [ ]
237
245
} ,
238
246
{
239
247
name : 'partial-response' ,
@@ -244,7 +252,8 @@ describe('DynamicPolicyResolverFactory', () => {
244
252
step : 0 ,
245
253
categories : new Set ( ) ,
246
254
policies : { request : undefined , response : 'agg_sum' } ,
247
- isKeyless : true
255
+ isKeyless : true ,
256
+ subcommands : [ ]
248
257
}
249
258
] ;
250
259
0 commit comments