diff options
Diffstat (limited to 'server/Test/imageTests.php')
| -rw-r--r-- | server/Test/imageTests.php | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/server/Test/imageTests.php b/server/Test/imageTests.php index 883387d..d184d44 100644 --- a/server/Test/imageTests.php +++ b/server/Test/imageTests.php @@ -15,7 +15,7 @@ $opt['protected'] = false; $opt['minRam'] = 10; //$App->setPostParam('id', 'sdfihlus154dfhj'); -$err = $image->action("createImage"); +//$err = $image->action("createImage"); //Liste des images @@ -35,16 +35,15 @@ foreach($images as $i){ echo "</br>"; echo "Erreur capturée: "; echo "</br>"; - - /* - //$App->setPostParam('id', $recup['id']); - $App->setPostParam('id', 'sdfihlus154dfhj'); - $err = $image->action("detailsImage"); - $temp = $App->show(); - $ret = json_decode($temp, true)["Images"]; - echo $ret['id']; - */ - //$App->getPostParam("id"); + +/* +$App->setPostParam('id', 354); +$err = $image->action("deleteImage"); +$temp = $App->show(); +$ret = json_decode($temp, true)["Images"]; +echo $ret['id']; +*/ + |
