<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
         bootstrap="vendor/autoload.php"
         colors="true"
>
    <testsuites>
        <testsuite name="Unit">
            <directory>tests/Unit</directory>
        </testsuite>
        <testsuite name="Feature">
            <directory>tests/Feature</directory>
        </testsuite>
    </testsuites>
    <source>
        <include>
            <directory>app</directory>
        </include>
    </source>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="BCRYPT_ROUNDS" value="4"/>
        <env name="CACHE_DRIVER" value="array"/>
        <!-- The compose MariaDB creates this database on first boot (sail's
             create-testing-database.sh). Not sqlite: we depend on MariaDB
             semantics — DECIMAL(20,0) for atbNo, lockForUpdate on submit. -->
        <env name="DB_DATABASE" value="testing"/>
        <!-- Pinned so the suite never depends on whether a developer has
             enabled the dev bridge in their own .env. -->
        <env name="DEV_BFF_ENABLED" value="false" force="true"/>
        <env name="KED_DRIVER" value="fake"/>
        <!-- Pinned so a developer's own .env (loaded when no .env.testing
             exists) cannot leak a stale audit unit into the suite. -->
        <env name="KED_AUDIT_UNIT" value="EKEFEDEMOKRITOS"/>
        <env name="KED_EXT_ORG" value="82838"/>
        <env name="KED_FOREAS_AFM" value="090085651"/>
        <env name="KED_TXT_CODE" value="4102"/>
        <env name="MAIL_MAILER" value="array"/>
        <env name="PULSE_ENABLED" value="false"/>
        <env name="QUEUE_CONNECTION" value="sync"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="TELESCOPE_ENABLED" value="false"/>
    </php>
</phpunit>
