blob: 28817ea49d9a7493fee865a768d0c0f301b65c6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<?php
// Set this variable to the root URL of the tested PPA
$webUrl = 'http://boox/~ioguix/ppa.git/phppgadmin';
/* An Array of the servers you want to use for testing, based on the entries
found in your conf/config.inc.php file, matching the $server[n]['desc']
field. Once you have listed the server here, you need to make a
corresponding entry in the $super_user and $super_pass arrays that follow.
*/
$test_servers = array('PostgreSQL','Test Server');
/* Associative array with the super user names for each configured server in
your conf/config.inc.php :
* $super_user = array(
* the 'desc' part of the server in your conf/config.inc.php => the
super user name,
* ...
* )
These profiles are only used to create the admin test role (or user) on
each server.
*/
$super_user= array(
'PostgreSQL' => 'ppa_user',
'Test Server' => 'ppa_user',
);
/* Associative array with the super user passwords for each configured server
in your conf/config.inc.php :
* $super_pass = array(
* the 'desc' part of the server in your conf/config.inc.php => the
super user password,
* ...
* )
*/
$super_pass= array(
'PostgreSQL' => 'secret',
'Test Server' => 'password',
);
// name and pass of the admin user to create for tests
$admin_user = 'admin_user';
$admin_user_pass = 'super';
// name and pass of the user to create for tests
$user = 'ppa_tests_user';
$user_pass = 'ppa_tests_user_pass';
// name of the database to create for tests
$testdb = 'ppatests_db';
?>
|