diff options
| author | Loic GUEGAN <loic@Manzerbredes.home> | 2016-04-26 23:37:10 +0200 |
|---|---|---|
| committer | Loic GUEGAN <loic@Manzerbredes.home> | 2016-04-26 23:37:10 +0200 |
| commit | a845b20ee91cd6aa9981551206aec1a85dd407f8 (patch) | |
| tree | c5451bd27c727e0937871f86856ec1a22c7f84ef /server/Test/automatingTests.php | |
| parent | 91b6918ef3f830c46eac5aa0249edb7f52ba87cd (diff) | |
| parent | 477dc821824b422c11d0d34b644de4b68a596510 (diff) | |
Merge branch 'loic' into loic-image-edition
Diffstat (limited to 'server/Test/automatingTests.php')
| -rwxr-xr-x | server/Test/automatingTests.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/server/Test/automatingTests.php b/server/Test/automatingTests.php new file mode 100755 index 0000000..8088102 --- /dev/null +++ b/server/Test/automatingTests.php @@ -0,0 +1,20 @@ +<?php +include('InitTest.php'); +include_once("../core/Automating.php"); + +$automating = new Automating($App); + +//$id = // id du réseau + +/* +// Création serveur avec ip publique +echo "Test création serveur avec ip publique : </br>"; +$App->setPostParam('networkId', $id); +$App->setPostParam('imageName', "ImageTest"); +$App->setPostParam('serverName', "ServerTest"); +$App->setPostParam('flavor', 1); +$compute->action("createPublicServer"); +$servers = json_decode($App->show(), true)["Automating"]; +*/ + +?>
\ No newline at end of file |
