|
@@ -136,11 +136,11 @@ class ONURESTControllerTest extends WebTestCaseBase
|
|
|
*/
|
|
|
public function testPUT()
|
|
|
{
|
|
|
- $this->initDefault();
|
|
|
$response = $this->generateGET();
|
|
|
$id = $this->getProperty($response, 'id');
|
|
|
// realizo la consulta
|
|
|
$data = $this->obtainDataChange($this->obtainData(), array('ponSerialNumber' => 'pon_modifi', 'id' => $id));
|
|
|
+ $this->initDefault();
|
|
|
$this->getClient()->request('PUT', $this->getUriPutDelete() . $id, $data);
|
|
|
// obtengo la respuesta
|
|
|
$response = $this->getClient()->getResponse();
|