소스 검색

Prueba regeneracion del login

gabriel 7 년 전
부모
커밋
46b8466e32
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/FTTHBundle/tests/ONURESTControllerTest.php

+ 1 - 1
src/FTTHBundle/tests/ONURESTControllerTest.php

@@ -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();