@@ -25,7 +25,7 @@ public function testSerializeExceptionJson($testCase, $expectedContent)
2525 {
2626 $ this ->iniSet ('error_log ' , file_exists ('/dev/null ' ) ? '/dev/null ' : 'nul ' );
2727
28- $ client = $ this ->createClient (array ('test_case ' => $ testCase ));
28+ $ client = $ this ->createClient (array ('test_case ' => $ testCase, ' debug ' => false ));
2929 $ client ->request ('GET ' , '/serializer-error/exception.json ' );
3030
3131 $ this ->assertEquals ($ expectedContent , $ client ->getResponse ()->getContent ());
@@ -46,7 +46,7 @@ public function testSerializeExceptionXml($testCase, $expectedContent)
4646 {
4747 $ this ->iniSet ('error_log ' , file_exists ('/dev/null ' ) ? '/dev/null ' : 'nul ' );
4848
49- $ client = $ this ->createClient (array ('test_case ' => $ testCase ));
49+ $ client = $ this ->createClient (array ('test_case ' => $ testCase, ' debug ' => false ));
5050 $ client ->request ('GET ' , '/serializer-error/exception.xml ' );
5151
5252 $ this ->assertEquals ($ expectedContent , $ client ->getResponse ()->getContent ());
@@ -81,7 +81,7 @@ public function serializeExceptionXmlProvider()
8181 */
8282 public function testSerializeInvalidFormJson ($ testCase , $ expectedContent )
8383 {
84- $ client = $ this ->createClient (array ('test_case ' => $ testCase ));
84+ $ client = $ this ->createClient (array ('test_case ' => $ testCase, ' debug ' => false ));
8585 $ client ->request ('GET ' , '/serializer-error/invalid-form.json ' );
8686
8787 $ this ->assertEquals ($ expectedContent , $ client ->getResponse ()->getContent ());
@@ -100,7 +100,7 @@ public function serializeInvalidFormJsonProvider()
100100 */
101101 public function testSerializeInvalidFormXml ($ testCase , $ expectedContent )
102102 {
103- $ client = $ this ->createClient (array ('test_case ' => $ testCase ));
103+ $ client = $ this ->createClient (array ('test_case ' => $ testCase, ' debug ' => false ));
104104 $ client ->request ('GET ' , '/serializer-error/invalid-form.xml ' );
105105
106106 $ this ->assertEquals ($ expectedContent , $ client ->getResponse ()->getContent ());
0 commit comments