@@ -85,6 +85,7 @@ public function graphQLEndpointUriProvider()
85
85
public function testEndpointWithEmptyQuery ()
86
86
{
87
87
$ client = static ::createClient ();
88
+ $ this ->disableCatchExceptions ($ client );
88
89
$ client ->request ('GET ' , '/ ' , []);
89
90
$ client ->getResponse ()->getContent ();
90
91
}
@@ -96,6 +97,7 @@ public function testEndpointWithEmptyQuery()
96
97
public function testEndpointWithEmptyJsonBodyQuery ()
97
98
{
98
99
$ client = static ::createClient ();
100
+ $ this ->disableCatchExceptions ($ client );
99
101
$ client ->request ('GET ' , '/ ' , [], [], ['CONTENT_TYPE ' => 'application/json ' ]);
100
102
$ client ->getResponse ()->getContent ();
101
103
}
@@ -107,6 +109,7 @@ public function testEndpointWithEmptyJsonBodyQuery()
107
109
public function testEndpointWithInvalidBodyQuery ()
108
110
{
109
111
$ client = static ::createClient ();
112
+ $ this ->disableCatchExceptions ($ client );
110
113
$ client ->request ('GET ' , '/ ' , [], [], ['CONTENT_TYPE ' => 'application/json ' ], '{ ' );
111
114
$ client ->getResponse ()->getContent ();
112
115
}
@@ -143,6 +146,7 @@ public function testEndpointActionWithVariables()
143
146
public function testEndpointActionWithInvalidVariables ()
144
147
{
145
148
$ client = static ::createClient (['test_case ' => 'connection ' ]);
149
+ $ this ->disableCatchExceptions ($ client );
146
150
147
151
$ query = <<<'EOF'
148
152
query {
@@ -160,6 +164,7 @@ public function testEndpointActionWithInvalidVariables()
160
164
public function testMultipleEndpointActionWithUnknownSchemaName ()
161
165
{
162
166
$ client = static ::createClient (['test_case ' => 'connection ' ]);
167
+ $ this ->disableCatchExceptions ($ client );
163
168
164
169
$ query = <<<'EOF'
165
170
query {
@@ -225,6 +230,7 @@ public function graphQLBatchEndpointUriProvider()
225
230
public function testBatchEndpointWithEmptyQuery ()
226
231
{
227
232
$ client = static ::createClient ();
233
+ $ this ->disableCatchExceptions ($ client );
228
234
$ client ->request ('GET ' , '/batch ' , [], [], ['CONTENT_TYPE ' => 'application/json ' ], '{} ' );
229
235
$ client ->getResponse ()->getContent ();
230
236
}
@@ -236,6 +242,7 @@ public function testBatchEndpointWithEmptyQuery()
236
242
public function testBatchEndpointWrongContentType ()
237
243
{
238
244
$ client = static ::createClient ();
245
+ $ this ->disableCatchExceptions ($ client );
239
246
$ client ->request ('GET ' , '/batch ' );
240
247
$ client ->getResponse ()->getContent ();
241
248
}
@@ -247,6 +254,7 @@ public function testBatchEndpointWrongContentType()
247
254
public function testBatchEndpointWithInvalidJson ()
248
255
{
249
256
$ client = static ::createClient ();
257
+ $ this ->disableCatchExceptions ($ client );
250
258
$ client ->request ('GET ' , '/batch ' , [], [], ['CONTENT_TYPE ' => 'application/json ' ], '{ ' );
251
259
$ client ->getResponse ()->getContent ();
252
260
}
@@ -258,6 +266,7 @@ public function testBatchEndpointWithInvalidJson()
258
266
public function testBatchEndpointWithInvalidQuery ()
259
267
{
260
268
$ client = static ::createClient ();
269
+ $ this ->disableCatchExceptions ($ client );
261
270
$ client ->request ('GET ' , '/batch ' , [], [], ['CONTENT_TYPE ' => 'application/json ' ], '{"test" : {"query": 1}} ' );
262
271
$ client ->getResponse ()->getContent ();
263
272
}
0 commit comments