Skip to content
Extraits de code Groupes Projets
Valider 37c68f11 rédigé par mattab's avatar mattab
Parcourir les fichiers

too many checks kill the checking

parent d87c9a6b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -719,7 +719,6 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase
// with format=original, objects or php arrays can be returned.
// we also hide errors to prevent the 'headers already sent' in the ResponseBuilder (which sends Excel headers multiple times eg.)
$response = (string)$request->process();
$this->checkRequestResponse($response);
if ($isLiveMustDeleteDates) {
$response = $this->removeAllLiveDatesFromXml($response);
......@@ -828,8 +827,8 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase
if(!is_string($response)) {
$response = json_encode($response);
}
$this->assertTrue(stripos($response, 'error') === false);
$this->assertTrue(stripos($response, 'exception') === false);
$this->assertTrue(stripos($response, 'error') === false, "error in $response");
$this->assertTrue(stripos($response, 'exception') === false, "exception in $response");
}
protected function removeAllLiveDatesFromXml($input)
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter