Ver Fonte

Arreglo ONURESTController.php en la funcion testAPPLY

gabriel há 7 anos atrás
pai
commit
52aa759c9f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/FTTHBundle/tests/ONURESTControllerTest.php

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

@@ -219,7 +219,7 @@ class ONURESTControllerTest extends WebTestCaseBase
         $original->setWebservice($fakeWebService);
 
         $this->getClient()->request('PATCH',
-            $this->getUriPutDelete() . "apply/" . $json["id"] . "/administrative_state/active_to_suspend.json", array());
+            $this->getUriPutDelete() . $json["id"] . "/apply/administrative_state/active_to_suspend.json", array());
         $response = $this->getClient()->getResponse();
 
         $json = json_decode($response->getContent(), true);