File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ public function testGetJSON()
214214 public function testEmptyJSON ()
215215 {
216216 $ this ->getFeatureResponse ('<h1>Hello World</h1> ' );
217- $ this ->response ->setJSON ('' );
217+ $ this ->response ->setJSON ('' , true );
218218 $ config = new \Config \Format ();
219219 $ formatter = $ config ->getFormatter ('application/json ' );
220220
@@ -225,7 +225,7 @@ public function testEmptyJSON()
225225 public function testFalseJSON ()
226226 {
227227 $ this ->getFeatureResponse ('<h1>Hello World</h1> ' );
228- $ this ->response ->setJSON (false );
228+ $ this ->response ->setJSON (false , true );
229229 $ config = new \Config \Format ();
230230 $ formatter = $ config ->getFormatter ('application/json ' );
231231
@@ -236,7 +236,7 @@ public function testFalseJSON()
236236 public function testTrueJSON ()
237237 {
238238 $ this ->getFeatureResponse ('<h1>Hello World</h1> ' );
239- $ this ->response ->setJSON (true );
239+ $ this ->response ->setJSON (true , true );
240240 $ config = new \Config \Format ();
241241 $ formatter = $ config ->getFormatter ('application/json ' );
242242
You can’t perform that action at this time.
0 commit comments