<?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>
        <!-- Module tests live outside tests/; without this they never run by default. -->
        <testsuite name="Modules">
            <directory>Modules/*/tests</directory>
        </testsuite>
    </testsuites>
    <source>
        <include>
            <directory>app</directory>
            <directory>Modules/*/app</directory>
        </include>
    </source>
    <php>
        <!-- The suite seeds per test and had grown to within a few megabytes of
             PHP's 128M default, so adding any test class aborted the run with a
             fatal inside BangladeshGeoSeeder rather than a test failure. -->
        <ini name="memory_limit" value="512M"/>
        <env name="APP_ENV" value="testing" force="true"/>
        <env name="APP_KEY" value="base64:hTIIKwdwpH06W4ftrWZ9N9tgZ9lA38H4E/tK1D+ZTdA=" force="true"/>
        <env name="APP_MAINTENANCE_DRIVER" value="file"/>
        <env name="BCRYPT_ROUNDS" value="4"/>
        <env name="BROADCAST_CONNECTION" value="null"/>
        <env name="CACHE_STORE" value="array"/>
        <env name="DB_CONNECTION" value="sqlite" force="true"/>
        <env name="DB_DATABASE" value=":memory:" force="true"/>
        <env name="DB_URL" value="" force="true"/>
        <env name="MAIL_MAILER" value="array"/>
        <env name="QUEUE_CONNECTION" value="sync"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="PULSE_ENABLED" value="false"/>
        <env name="TELESCOPE_ENABLED" value="false"/>
        <env name="NIGHTWATCH_ENABLED" value="false"/>
        <env name="JWT_SECRET" value="bHFOIFAQ5XyGHlgzDp188YiXx8JKv3RYszpMmtz99sCLMez4n4vHqrxH117lXRd8" force="true"/>
        <env name="TASK_MANAGER_CLIENT_ID" value=""/>
        <env name="TASK_MANAGER_CLIENT_SECRET" value=""/>
    </php>
</phpunit>
