2012-08-20 12:41:54 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-03-10 14:20:06 +00:00
|
|
|
<phpunit bootstrap="tests/Unit/bootstrap.php" colors="false">
|
2012-08-20 12:41:54 +00:00
|
|
|
<testsuites>
|
2019-07-11 22:48:37 +00:00
|
|
|
<testsuite name="Unit">
|
2022-08-25 15:34:08 +00:00
|
|
|
<directory suffix="Test.php">./tests/Unit</directory>
|
2016-08-05 15:17:46 +00:00
|
|
|
</testsuite>
|
2019-07-11 22:48:37 +00:00
|
|
|
<testsuite name="Integration">
|
2022-08-25 15:34:08 +00:00
|
|
|
<directory suffix="Test.php">./tests/Integration</directory>
|
2019-07-11 22:48:37 +00:00
|
|
|
</testsuite>
|
2012-08-20 12:41:54 +00:00
|
|
|
</testsuites>
|
2019-07-11 22:48:37 +00:00
|
|
|
<php>
|
|
|
|
<const name="JTEST_DB_ENGINE" value="mysqli" />
|
|
|
|
<const name="JTEST_DB_HOST" value="mysql" />
|
|
|
|
<const name="JTEST_DB_NAME" value="test_joomla" />
|
|
|
|
<const name="JTEST_DB_USER" value="joomla_ut" />
|
|
|
|
<const name="JTEST_DB_PASSWORD" value="joomla_ut" />
|
2023-01-26 12:08:33 +00:00
|
|
|
|
|
|
|
<!--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-->
|
2023-03-20 08:51:42 +00:00
|
|
|
<const name="JTEST_LDAP_CACERTFILE" value="./tests/certs/CA.crt" />
|
2023-01-26 12:08:33 +00:00
|
|
|
<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" />
|
2019-07-11 22:48:37 +00:00
|
|
|
</php>
|
2012-08-20 12:41:54 +00:00
|
|
|
</phpunit>
|