|
@@ -184,7 +184,7 @@ class ONURESTControllerTest extends WebTestCaseBase
|
|
|
|
|
|
/**
|
|
/**
|
|
* Aplica una transicion de un workflow a una entidad
|
|
* Aplica una transicion de un workflow a una entidad
|
|
- * apply_onus -> /api/onu/apply/{id}/{workflow}/{transition}.{_format}
|
|
|
|
|
|
+ * apply_onus -> /api/onu/{id}/apply/{workflow}/{transition}.{_format}
|
|
* controller: ClientBundle:ClientREST:cget
|
|
* controller: ClientBundle:ClientREST:cget
|
|
* Method: GET
|
|
* Method: GET
|
|
*/
|
|
*/
|
|
@@ -208,7 +208,7 @@ class ONURESTControllerTest extends WebTestCaseBase
|
|
$original->setWebservice($fakeWebService);
|
|
$original->setWebservice($fakeWebService);
|
|
|
|
|
|
$this->getClient()->request('PATCH',
|
|
$this->getClient()->request('PATCH',
|
|
- $this->getUriPutDelete(). "apply/". $json["id"] . "/administrative_state/active_to_suspend.json" , array());
|
|
|
|
|
|
+ $this->getUriPutDelete(). $json["id"] . "/apply/administrative_state/active_to_suspend.json" , array());
|
|
$response = $this->getClient()->getResponse();
|
|
$response = $this->getClient()->getResponse();
|
|
|
|
|
|
$json = json_decode($response->getContent(), true);
|
|
$json = json_decode($response->getContent(), true);
|