|
@@ -132,11 +132,15 @@ class CMTSRESTControllerTest extends WebTestCaseBase
|
|
|
public function testPOST()
|
|
|
{
|
|
|
// inicializo con los datos del webservicemock
|
|
|
+ print_r("Previo init");
|
|
|
$this->initDefault($this->obtainDataWebService());
|
|
|
+ print_r("Pasó por Init");
|
|
|
// seteo los datos del listener
|
|
|
$this->setListener();
|
|
|
+ print_r("Pasó por Listener");
|
|
|
// hago la inserccion llamando al servicio por post
|
|
|
$this->getClient()->request('POST', $this->getPOSTUri(), $this->obtainData());
|
|
|
+ print_r("Pasó por request");
|
|
|
// obtengo la respuesta
|
|
|
$response = $this->getClient()->getResponse();
|
|
|
print_r($response);
|