|
@@ -204,7 +204,7 @@ class ONURESTControllerTest extends WebTestCaseBase
|
|
|
// hago la inserccion llamando al servicio por post
|
|
|
$this->getClient()->request('POST', $this->getOLTUri(), $this->obtainOLTData());
|
|
|
$response = $this->getClient()->getResponse();
|
|
|
- var_dump($response);
|
|
|
+ //var_dump($response);
|
|
|
$this->getClient()->request('POST', $this->getNAPUri(), $this->obtainNAPData());
|
|
|
$response = $this->getClient()->getResponse();
|
|
|
$this->getClient()->request('POST', $this->getUri(), $this->obtainData());
|
|
@@ -297,7 +297,7 @@ class ONURESTControllerTest extends WebTestCaseBase
|
|
|
$fakeWebService = $this->getClient()->getContainer()->get('webservice');
|
|
|
$original->setWebservice($fakeWebService);
|
|
|
|
|
|
- $this->getClient()->request('PATCH',
|
|
|
+ $this->getClient()->request('GET',
|
|
|
$this->getUriPutDelete(). $json["id"] . "/apply/administrative_state/active_to_suspend.json" , array());
|
|
|
$response = $this->getClient()->getResponse();
|
|
|
|