Guillermo Espinoza 7 년 전
부모
커밋
9ed4212fb4
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  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());
         }
     }