Browse Source

Mais virez moi donc tout ces outputDebug ^^

bastien 12 years ago
parent
commit
fb3dc571fc

+ 1 - 2
src/Muzich/CoreBundle/Tests/Controller/ElementControllerTest.php View File

@@ -94,7 +94,7 @@ class ElementControllerTest extends FunctionalTest
94 94
       array(), 
95 95
       array('HTTP_X-Requested-With' => 'XMLHttpRequest')
96 96
     );
97
-    $this->outputDebug($this->client->getResponse()->getContent());
97
+    
98 98
     $this->isResponseSuccess();
99 99
     
100 100
     $response = json_decode($this->client->getResponse()->getContent(), true);
@@ -267,7 +267,6 @@ class ElementControllerTest extends FunctionalTest
267 267
       array('HTTP_X-Requested-With' => 'XMLHttpRequest')
268 268
     );
269 269
     
270
-    $this->outputDebug();
271 270
     $this->isResponseSuccess();
272 271
     
273 272
     $response = json_decode($this->client->getResponse()->getContent(), true);

+ 1 - 2
src/Muzich/CoreBundle/Tests/Controller/GroupControllerTest.php View File

@@ -130,8 +130,7 @@ class GroupControllerTest extends FunctionalTest
130 130
     $form['group[tags]'] = json_encode(array($hardtek_id,$tribe_id));
131 131
     $this->submit($form);
132 132
     
133
-    // Pas de redirection, la création a échoué (nom trop court)
134
-    $this->outputDebug();
133
+    // Pas de redirection, la création a échoué (nom trop court)    $this->outputDebug();
135 134
     $this->isResponseSuccess();
136 135
     
137 136
     // Le groupe que créé existe bien dans la base

+ 0 - 1
src/Muzich/CoreBundle/Tests/Controller/UserControllerTest.php View File

@@ -282,7 +282,6 @@ class UserControllerTest extends FunctionalTest
282 282
     $this->followRedirection();
283 283
     $this->isResponseSuccess();
284 284
     
285
-    $this->outputDebug();
286 285
     $this->notExist('div.error');
287 286
     
288 287
     // Et les champs ont bougés