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