File tree Expand file tree Collapse file tree 2 files changed +62
-3
lines changed
app/code/Magento/GraphQl/etc
dev/tests/api-functional/testsuite/Magento/GraphQl/Framework Expand file tree Collapse file tree 2 files changed +62
-3
lines changed Original file line number Diff line number Diff line change 100
100
<type name =" Magento\Framework\GraphQl\Query\QueryComplexityLimiter" >
101
101
<arguments >
102
102
<argument name =" queryDepth" xsi : type =" number" >20</argument >
103
- <argument name =" queryComplexity" xsi : type =" number" >250 </argument >
103
+ <argument name =" queryComplexity" xsi : type =" number" >300 </argument >
104
104
</arguments >
105
105
</type >
106
106
</config >
Original file line number Diff line number Diff line change @@ -263,6 +263,66 @@ public function testQueryComplexityIsLimited()
263
263
percentage_value
264
264
website_id
265
265
}
266
+ tier_prices {
267
+ customer_group_id
268
+ qty
269
+ percentage_value
270
+ website_id
271
+ }
272
+ tier_prices {
273
+ customer_group_id
274
+ qty
275
+ percentage_value
276
+ website_id
277
+ }
278
+ tier_prices {
279
+ customer_group_id
280
+ qty
281
+ percentage_value
282
+ website_id
283
+ }
284
+ tier_prices {
285
+ customer_group_id
286
+ qty
287
+ percentage_value
288
+ website_id
289
+ }
290
+ tier_prices {
291
+ customer_group_id
292
+ qty
293
+ percentage_value
294
+ website_id
295
+ }
296
+ tier_prices {
297
+ customer_group_id
298
+ qty
299
+ percentage_value
300
+ website_id
301
+ }
302
+ tier_prices {
303
+ customer_group_id
304
+ qty
305
+ percentage_value
306
+ website_id
307
+ }
308
+ tier_prices {
309
+ customer_group_id
310
+ qty
311
+ percentage_value
312
+ website_id
313
+ }
314
+ tier_prices {
315
+ customer_group_id
316
+ qty
317
+ percentage_value
318
+ website_id
319
+ }
320
+ tier_prices {
321
+ customer_group_id
322
+ qty
323
+ percentage_value
324
+ website_id
325
+ }
266
326
new_to_date
267
327
new_from_date
268
328
tier_price
@@ -330,10 +390,9 @@ public function testQueryComplexityIsLimited()
330
390
}
331
391
}
332
392
}
333
-
334
393
QUERY ;
335
394
336
- self ::expectExceptionMessageRegExp ('/Max query complexity should be 250 but got 252 / ' );
395
+ self ::expectExceptionMessageRegExp ('/Max query complexity should be 300 but got 302 / ' );
337
396
$ this ->graphQlQuery ($ query );
338
397
}
339
398
You can’t perform that action at this time.
0 commit comments