2FAuth/phpunit-mysql.xml

48 lines
1.7 KiB
XML
Raw Normal View History

2022-04-01 13:35:59 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2024-06-26 14:15:30 +02:00
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
2022-04-01 13:35:59 +02:00
backupGlobals="false"
2023-08-01 11:28:27 +02:00
backupStaticProperties="false"
2022-04-01 13:35:59 +02:00
bootstrap="vendor/autoload.php"
colors="true"
2023-08-01 11:28:27 +02:00
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
2022-04-01 13:35:59 +02:00
processIsolation="false"
stopOnFailure="false"
stopOnError="false"
2024-06-26 14:15:30 +02:00
beStrictAboutTestsThatDoNotTestAnything="false">
2023-08-01 11:28:27 +02:00
<source>
2022-04-01 13:35:59 +02:00
<include>
2022-05-10 00:08:33 +02:00
<directory suffix=".php">app</directory>
2022-04-01 13:35:59 +02:00
</include>
2022-07-13 14:58:09 +02:00
<exclude>
<directory suffix=".php">app/Protobuf</directory>
</exclude>
2023-08-01 11:28:27 +02:00
</source>
<coverage includeUncoveredFiles="true">
2022-04-01 13:35:59 +02:00
</coverage>
<testsuites>
<testsuite name="Unit">
2022-05-10 00:08:33 +02:00
<directory suffix="Test.php">tests/Unit</directory>
2022-04-01 13:35:59 +02:00
</testsuite>
<testsuite name="Feature">
2022-05-10 00:08:33 +02:00
<directory suffix="Test.php">tests/Feature</directory>
2022-04-01 13:35:59 +02:00
</testsuite>
<testsuite name="Api.v1">
2022-05-10 00:08:33 +02:00
<directory suffix="Test.php">tests/Api/v1</directory>
2022-04-01 13:35:59 +02:00
</testsuite>
</testsuites>
<php>
2024-06-26 14:15:30 +02:00
<ini name="memory_limit" value="2048M" />
2022-04-01 13:35:59 +02:00
<env name="APP_ENV" value="testing"/>
<!-- following values override .env.testing vars -->
<env name="DB_CONNECTION" value="mysql"/>
2022-04-01 14:09:34 +02:00
<env name="DB_HOST" value="127.0.0.1"/>
2022-04-01 13:35:59 +02:00
<env name="DB_PORT" value="3306"/>
<env name="DB_DATABASE" value="2fauth_test"/>
2022-04-01 14:09:34 +02:00
<env name="DB_USERNAME" value="travis"/>
<env name="DB_PASSWORD" value=""/>
2022-04-01 13:35:59 +02:00
</php>
</phpunit>