summaryrefslogtreecommitdiff
path: root/server/Test/InitTest.php
diff options
context:
space:
mode:
authorroot <root@kabir-PC>2016-02-23 20:34:59 +0100
committerroot <root@kabir-PC>2016-02-23 20:34:59 +0100
commitd2f5ae5c83ef5bc41cf430ace79769459b4acbf8 (patch)
treeb48882db52687bdd64a398c7d1844d05dbc01343 /server/Test/InitTest.php
parent1eff9ee90bf26127463cae0ae2cb2e1951527591 (diff)
parentff1832adcfe10fadb6cbf738c874611f77f6dd43 (diff)
Merge branch 'develop' of https://github.com/manzerbredes/istic-openstack into othmane
Diffstat (limited to 'server/Test/InitTest.php')
-rwxr-xr-xserver/Test/InitTest.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/server/Test/InitTest.php b/server/Test/InitTest.php
new file mode 100755
index 0000000..ab90864
--- /dev/null
+++ b/server/Test/InitTest.php
@@ -0,0 +1,30 @@
+<?php
+ require '../vendor/autoload.php';
+ include_once("../config.inc.php");
+ include_once("AppTestClass.php");
+
+
+ $user = "demo";
+ $password = "demopass";
+ $project = "demo";
+
+ $Args = Array(
+ "user" => Array(
+ "name" => $user,
+ "password" => $password,
+ "domain" => Array(
+ "name" => "Default")
+ ),
+ "scope" => Array(
+ "project" => Array(
+ "name" => $project,
+ "domain" => Array(
+ "name" => "Default")
+ )
+ ),
+ "authUrl" => $config["urlAuth"]
+ );
+
+ $App = new AppTest($Args);
+
+?>