Browse Source

Mais virez moi donc tout ces outputDebug ^^

bastien 13 years ago
parent
commit
fb3dc571fc

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

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

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

130
     $form['group[tags]'] = json_encode(array($hardtek_id,$tribe_id));
130
     $form['group[tags]'] = json_encode(array($hardtek_id,$tribe_id));
131
     $this->submit($form);
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
     $this->isResponseSuccess();
134
     $this->isResponseSuccess();
136
     
135
     
137
     // Le groupe que créé existe bien dans la base
136
     // Le groupe que créé existe bien dans la base

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

282
     $this->followRedirection();
282
     $this->followRedirection();
283
     $this->isResponseSuccess();
283
     $this->isResponseSuccess();
284
     
284
     
285
-    $this->outputDebug();
286
     $this->notExist('div.error');
285
     $this->notExist('div.error');
287
     
286
     
288
     // Et les champs ont bougés
287
     // Et les champs ont bougés