forked from joomla/joomla-cms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpunit-pgsql.xml.dist
37 lines (36 loc) · 1.73 KB
/
phpunit-pgsql.xml.dist
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/Unit/bootstrap.php" colors="false">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
</testsuites>
<php>
<const name="JTEST_DB_ENGINE" value="pgsql" />
<const name="JTEST_DB_HOST" value="postgres" />
<const name="JTEST_DB_NAME" value="test_joomla" />
<const name="JTEST_DB_USER" value="root" />
<const name="JTEST_DB_PASSWORD" value="joomla_ut" />
<!--ldap settings are preconfigured to work with bitnami/openldap docker image-->
<const name="JTEST_LDAP_HOST" value="openldap" /> <!-- to disable ldap tests: set to an empty value -->
<const name="JTEST_LDAP_PORT" value="1389" />
<const name="JTEST_LDAP_PORT_SSL" value="1636" />
<!--CACERTFILE path is relative to JPATH_ROOT-->
<const name="JTEST_LDAP_CACERTFILE" value="./tests/certs/CA.crt" />
<const name="JTEST_LDAP_USEV3" value="1" />
<const name="JTEST_LDAP_NOREFERRALS" value="1" />
<const name="JTEST_LDAP_BASE" value="dc=example,dc=org" />
<const name="JTEST_LDAP_SEARCH" value="uid=[search]" />
<const name="JTEST_LDAP_DIRECT_USERDN" value="cn=[username],ou=users,dc=example,dc=org" />
<const name="JTEST_LDAP_FULLNAME" value="cn" />
<const name="JTEST_LDAP_EMAIL" value="mail" />
<const name="JTEST_LDAP_UID" value="uid" />
<const name="JTEST_LDAP_SEARCH_DN" value="cn=customuser,ou=users,dc=example,dc=org" />
<const name="JTEST_LDAP_SEARCH_PASSWORD" value="custompassword" />
<const name="JTEST_LDAP_TESTUSER" value="customuser" />
<const name="JTEST_LDAP_TESTPASSWORD" value="custompassword" />
</php>
</phpunit>