gabriel 7 anni fa
parent
commit
2b8aa72116
1 ha cambiato i file con 6 aggiunte e 3 eliminazioni
  1. 6 3
      src/FTTHBundle/tests/ONURESTControllerTest.php

+ 6 - 3
src/FTTHBundle/tests/ONURESTControllerTest.php

@@ -37,10 +37,13 @@ class ONURESTControllerTest extends WebTestCaseBase
     protected function obtainDataWebService()
     {
         $datos = array();
-        $datos['client'] =
+//        original
+//        $datos['client'] =
+//            json_encode(array(array("name" => "Stock", "id" => 1)));
+        $datos['clients'] =
             json_encode(array(array("name" => "Stock", "id" => 1)));
-        $datos['device'] =
-            json_encode(array(array("name" => "Prueba", "id" => 1)));
+        $datos['check'] =
+            json_encode(array(array('result' => true, 'errors' => null)));
         return $datos;
     }