Guillermo Espinoza 7 years ago
parent
commit
9ed4212fb4
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/CablemodemBundle/tests/CMTSRESTControllerTest.php

+ 1 - 4
src/CablemodemBundle/tests/CMTSRESTControllerTest.php

@@ -141,7 +141,6 @@ class CMTSRESTControllerTest extends WebTestCaseBase
     public function testPOST()
     {
         try {
-
             // inicializo con los datos del webservicemock
             $this->initDefault($this->obtainDataWebService());
             // seteo los datos del listener
@@ -153,9 +152,7 @@ class CMTSRESTControllerTest extends WebTestCaseBase
 
             $this->assertEquals(201, $response->getStatusCode(), "Error en la respuesta http.");
         } catch (\Exception $ex) {
-            if ($ex instanceof HandledErrorException) {
-                $ex->cleanOutput();
-            }
+            var_dump($ex->getMessage());
         }
     }