|
@@ -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;
|
|
|
}
|
|
|
|