summaryrefslogtreecommitdiff
path: root/server/Test/AppTestClass.php
diff options
context:
space:
mode:
authorYoggzo <yogg@epsina.com>2016-03-17 11:34:56 +0100
committerYoggzo <yogg@epsina.com>2016-03-17 11:34:56 +0100
commitfe0eb3a9e259b4fe09df364f0660ebc62185f9dd (patch)
treea74a684b0b6b6e0df3a81b5908a428bf587ad748 /server/Test/AppTestClass.php
parente01936a73e75350a40fafd80995b1525a11c9da1 (diff)
add exception management, correct mistakes in error management in Image.php and add function to simplify parameters using in tests
Diffstat (limited to 'server/Test/AppTestClass.php')
-rwxr-xr-xserver/Test/AppTestClass.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/Test/AppTestClass.php b/server/Test/AppTestClass.php
index 5e8efc7..e1631c5 100755
--- a/server/Test/AppTestClass.php
+++ b/server/Test/AppTestClass.php
@@ -89,10 +89,16 @@ class AppTest{
}
public function getPostParam($name){
-
+
return $this->postParams[$name];
}
+
+ public function setPostParam($name, $value){
+
+ $this->postParams[$name] = $value;
+
+ }
public function setOutput($key, $out){