add exception management, correct mistakes in error management in Image.php and add function to simplify parameters using in tests
This commit is contained in:
parent
e01936a73e
commit
fe0eb3a9e2
4 changed files with 338 additions and 289 deletions
|
@ -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){
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue