mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-30 04:03:18 +01:00
47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
backupGlobals="false"
|
|
backupStaticProperties="false"
|
|
bootstrap="vendor/autoload.php"
|
|
colors="true"
|
|
displayDetailsOnTestsThatTriggerErrors="true"
|
|
displayDetailsOnTestsThatTriggerNotices="true"
|
|
displayDetailsOnTestsThatTriggerWarnings="true"
|
|
processIsolation="false"
|
|
stopOnFailure="false"
|
|
stopOnError="false"
|
|
beStrictAboutTestsThatDoNotTestAnything="false"
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
|
<source>
|
|
<include>
|
|
<directory suffix=".php">app</directory>
|
|
</include>
|
|
<exclude>
|
|
<directory suffix=".php">app/Protobuf</directory>
|
|
</exclude>
|
|
</source>
|
|
<coverage includeUncoveredFiles="true">
|
|
</coverage>
|
|
<testsuites>
|
|
<testsuite name="Unit">
|
|
<directory suffix="Test.php">tests/Unit</directory>
|
|
</testsuite>
|
|
<testsuite name="Feature">
|
|
<directory suffix="Test.php">tests/Feature</directory>
|
|
</testsuite>
|
|
<testsuite name="Api.v1">
|
|
<directory suffix="Test.php">tests/Api/v1</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<php>
|
|
<env name="APP_ENV" value="testing"/>
|
|
<!-- following values override .env.testing vars -->
|
|
<env name="DB_CONNECTION" value="mysql"/>
|
|
<env name="DB_HOST" value="127.0.0.1"/>
|
|
<env name="DB_PORT" value="3306"/>
|
|
<env name="DB_DATABASE" value="2fauth_test"/>
|
|
<env name="DB_USERNAME" value="travis"/>
|
|
<env name="DB_PASSWORD" value=""/>
|
|
</php>
|
|
</phpunit>
|