<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
         bootstrap="bootstrap/app.php"
         colors="true"
         stopOnFailure="false">
    <testsuites>
        <testsuite name="Unit">
            <directory>tests/Unit</directory>
        </testsuite>
        <testsuite name="Integration">
            <directory>tests/Integration</directory>
        </testsuite>
    </testsuites>
    <coverage>
        <include>
            <directory>src</directory>
        </include>
    </coverage>
    <php>
        <env name="APP_ENV"        value="testing"/>
        <env name="APP_DEBUG"      value="false"/>
        <env name="APP_TIMEZONE"   value="UTC"/>
        <env name="DB_HOST"        value="127.0.0.1"/>
        <env name="DB_PORT"        value="3306"/>
        <env name="DB_DATABASE"    value="nfe_flow_test"/>
        <env name="DB_USERNAME"    value="root"/>
        <env name="DB_PASSWORD"    value=""/>
        <env name="DB_CHARSET"     value="utf8mb4"/>
        <env name="ADMIN_KEY"      value="test-admin-key-do-not-use-in-production"/>
        <env name="BCRYPT_COST"    value="4"/>
        <env name="LOG_LEVEL"      value="none"/>
        <env name="LOG_FILE"       value="/tmp/nfe_flow_test.log"/>
    </php>
</phpunit>
