@@ -194,7 +194,7 @@ public function testGet()
194194 'with ' => array (
195195 $ this ->equalTo ('https://api.ticketpark.ch/shows?a=1&b=2&c%5Bd%5D=3 ' ),
196196 $ this ->equalTo (array (
197- 'Content-Type ' => 'application/x-www-form-urlencoded ' ,
197+ 'Content-Type ' => 'application/json ' ,
198198 'Accept ' => 'application/json ' ,
199199 'Authorization ' => 'Bearer myAccessToken ' ,
200200 'CustomHeader ' => 'foo '
@@ -220,7 +220,7 @@ public function testHead()
220220 'with ' => array (
221221 $ this ->equalTo ('https://api.ticketpark.ch/shows?a=1&b=2&c%5Bd%5D=3 ' ),
222222 $ this ->equalTo (array (
223- 'Content-Type ' => 'application/x-www-form-urlencoded ' ,
223+ 'Content-Type ' => 'application/json ' ,
224224 'Accept ' => 'application/json ' ,
225225 'Authorization ' => 'Bearer myAccessToken ' ,
226226 'CustomHeader ' => 'foo '
@@ -246,12 +246,12 @@ public function testPatch()
246246 'with ' => array (
247247 $ this ->equalTo ('https://api.ticketpark.ch/shows/foo ' ),
248248 $ this ->equalTo (array (
249- 'Content-Type ' => 'application/x-www-form-urlencoded ' ,
249+ 'Content-Type ' => 'application/json ' ,
250250 'Accept ' => 'application/json ' ,
251251 'Authorization ' => 'Bearer myAccessToken ' ,
252252 'CustomHeader ' => 'foo '
253253 )),
254- $ this ->equalTo ('content ' )
254+ $ this ->equalTo ('" content" ' )
255255 ),
256256 'response ' => array (
257257 'status ' => 200 ,
@@ -273,12 +273,12 @@ public function testPost()
273273 'with ' => array (
274274 $ this ->equalTo ('https://api.ticketpark.ch/shows/foo ' ),
275275 $ this ->equalTo (array (
276- 'Content-Type ' => 'application/x-www-form-urlencoded ' ,
276+ 'Content-Type ' => 'application/json ' ,
277277 'Accept ' => 'application/json ' ,
278278 'Authorization ' => 'Bearer myAccessToken ' ,
279279 'CustomHeader ' => 'foo '
280280 )),
281- $ this ->equalTo ('content ' )
281+ $ this ->equalTo ('" content" ' )
282282 ),
283283 'response ' => array (
284284 'status ' => 200 ,
@@ -300,12 +300,12 @@ public function testPut()
300300 'with ' => array (
301301 $ this ->equalTo ('https://api.ticketpark.ch/shows/foo ' ),
302302 $ this ->equalTo (array (
303- 'Content-Type ' => 'application/x-www-form-urlencoded ' ,
303+ 'Content-Type ' => 'application/json ' ,
304304 'Accept ' => 'application/json ' ,
305305 'Authorization ' => 'Bearer myAccessToken ' ,
306306 'CustomHeader ' => 'foo '
307307 )),
308- $ this ->equalTo ('content ' )
308+ $ this ->equalTo ('" content" ' )
309309 ),
310310 'response ' => array (
311311 'status ' => 200 ,
@@ -327,7 +327,7 @@ public function testDelete()
327327 'with ' => array (
328328 $ this ->equalTo ('https://api.ticketpark.ch/shows/foo ' ),
329329 $ this ->equalTo (array (
330- 'Content-Type ' => 'application/x-www-form-urlencoded ' ,
330+ 'Content-Type ' => 'application/json ' ,
331331 'Accept ' => 'application/json ' ,
332332 'Authorization ' => 'Bearer myAccessToken ' ,
333333 'CustomHeader ' => 'foo '
0 commit comments