浏览代码

Arreglo ONURESTController.php en la funcion testAPPLY

gabriel 7 年之前
父节点
当前提交
52aa759c9f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
         $original->setWebservice($fakeWebService);
 
 
         $this->getClient()->request('PATCH',
         $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();
         $response = $this->getClient()->getResponse();
 
 
         $json = json_decode($response->getContent(), true);
         $json = json_decode($response->getContent(), true);