瀏覽代碼

Cambio put en los comentarios

gabriel 6 年之前
父節點
當前提交
d5a4cf0aea
共有 1 個文件被更改,包括 1 次插入1 次删除
  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