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());
         }
     }