29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-16 09:02:52 +00:00
cms/phpunit-pgsql.xml.dist
Allon Moritz 7611824c5c
Move API system tests to cypress (#40135)
* tests

* api

* artiucles crud

* banners

* contact

* media

* media

* Remove codeception

* cs

* more traces of codeception

* readd certs

* dependencies

* more deps

* secret

* cs

* better doc

* write

* config workaround

* cs

* revert

* prepare db for api tests

* variable

* revert pool

* end connections

* no limit

* cs

* prefix

* Update tests/cypress/drone-system-run.sh

* run specific specs in drone

* Update tests/README.md

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update tests/cypress/integration/api/com_media/Files.cy.js

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update tests/cypress/integration/api/com_media/Files.cy.js

Co-authored-by: Brian Teeman <brian@teeman.net>

* postgres

* media on postgres

* sign

* cs

* remove more traces

* basic api tests

* cleanup

* path

* run recursive specs

* chmod images folder

* path to cms

* correct dependencies and better cleanup

* cleaner deps

* Update tests/cypress/drone-system-run.sh

Co-authored-by: Brian Teeman <brian@teeman.net>

* missing fields

* stabilize cleanup

* cs

* secret in install test

* order of tests

* optimize cleanup

* cs

* cache the connection

* revert connection cache

* docs

* Rename cypress to system

* lint

* simplification and docs

* docs

* better cleanup

* move

* merge conflict

* remove redundant connect

---------

Co-authored-by: Brian Teeman <brian@teeman.net>
2023-03-20 09:51:42 +01:00

38 lines
1.7 KiB
XML

<?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>