summaryrefslogtreecommitdiff
path: root/server/Test
diff options
context:
space:
mode:
authorEoleDev <EoleDev@outlook.fr>2016-02-28 19:26:53 +0100
committerEoleDev <EoleDev@outlook.fr>2016-02-28 19:26:53 +0100
commit9280eecbcf42253363a30f97d265069d0159de77 (patch)
tree5c8e04ffc920dc5702c60de4c53a8c0092e6257b /server/Test
parent3fe5596998b88e20aa3965a5b44d0a8ec9f0a4cb (diff)
Support gestion output
Diffstat (limited to 'server/Test')
-rwxr-xr-xserver/Test/AppTestClass.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/Test/AppTestClass.php b/server/Test/AppTestClass.php
index 68d0cfc..4d7cab5 100755
--- a/server/Test/AppTestClass.php
+++ b/server/Test/AppTestClass.php
@@ -16,10 +16,10 @@ class AppTest{
$this->tokenPost = NULL;
$this->tokenClass = new genTokenOptions($args);
$this->openstack = new OpenStack\OpenStack([]);
- $this->pluginsApi = plugin_api::getInstance();
+ $this->pluginsApi = plugin_api::getInstance();
$this->errorClass = new errorManagement($this);
$this->output = array();
- $this->postParams = $_POST;
+ $this->postParams = $_POST;
}
@@ -91,7 +91,7 @@ class AppTest{
}
public function show(){
- echo json_encode($this->output);
+ return json_encode($this->output);
}
-}
+}