gabriel 7 years ago
parent
commit
171a63bd1d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/FTTHBundle/tests/ONURESTControllerTest.php

+ 2 - 0
src/FTTHBundle/tests/ONURESTControllerTest.php

@@ -148,6 +148,8 @@ class ONURESTControllerTest extends WebTestCaseBase
         $response = $this->generateGET();
         $id = $this->getProperty($response, 'id');
         // realizo la consulta
+        $this->initDefault($this->obtainDataWebService());
+        $this->setListener();
         $data = $this->obtainDataChange($this->obtainData(), array('ponSerialNumber' => 'pon_modifi', 'id' => $id));
         $this->getClient()->request('PUT', $this->getUriPutDelete() . $id, $data);
         // obtengo la respuesta