Browse Source

Cambio put en los comentarios

gabriel 6 years ago
parent
commit
d5a4cf0aea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/RadiusBundle/tests/AccessRESTControllerTest.php

+ 1 - 1
src/RadiusBundle/tests/AccessRESTControllerTest.php

@@ -164,7 +164,7 @@ class AccessRESTControllerTest extends WebTestCaseBase
         // inicializo con los datos del webservicemock
         $this->initDefault();
         // creo el nuevo set de datos a enviar.
-        $data = $this->obtainDataChange($this->obtainData(), array('comments' => 'comments 2', 'id' => $id));
+        $data = $this->obtainDataChange($this->obtainData(), array('password' => 'comments-2', 'id' => $id));
         // hago la modificacion llamando al servicio por put
         $this->getClient()->request('PUT', $this->getUriPutDelete() . $id, $data);
         // obtengo la respuesta