Files
FOSSBilling/phpunit.xml.dist
Belle Aerni ccc97a3ec9 Initial implementation of CI against a live FOSSBilling Install (#2067)
* Rename tests to tests-legacy

* Groundwork for live tests

* Somewhat working tests on a live instance

* Hmmmmmm

* Fix

* Fixed the other bug

* Added a handful of various tests

* Typos, all these are admin endpoints

* Bypass this check for testing envs

* Disable it for now

* Mini cleanup

* Cleanup from debugging, ran PHP-CS-Fixer
2024-01-14 22:51:32 -08:00

31 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" beStrictAboutChangesToGlobalState="true" bootstrap="tests-legacy/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage/>
<testsuites>
<testsuite name="Library">
<directory>tests-legacy/library</directory>
</testsuite>
<testsuite name="Modules">
<directory>tests-legacy/modules</directory>
</testsuite>
</testsuites>
<php>
<ini name="display_errors" value="On"/>
<ini name="display_startup_errors" value="On"/>
<env name="APP_ENV" value="test"/>
</php>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>src/data</directory>
<directory>src/library/Registrar/includes</directory>
<directory>src/themes</directory>
<directory>src/vendor</directory>
<directory>src/install</directory>
<file>src/library/PdoSessionHandler.php</file>
</exclude>
</source>
</phpunit>