Add Init and AppClass to do tests, Error Correction in App.php
This commit is contained in:
parent
ad33435ce0
commit
af451ad442
3 changed files with 106 additions and 5 deletions
server/Test
28
server/Test/InitTest.php
Executable file
28
server/Test/InitTest.php
Executable file
|
@ -0,0 +1,28 @@
|
|||
<?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);
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue