Quellcode durchsuchen

Cambio put en los comentarios

gabriel vor 6 Jahren
Ursprung
Commit
d5a4cf0aea
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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