File: /home/xedaptot/ai.naniguide.com/phpunit.xml
<?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="tests/bootstrap.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
<!--
| Sandbox suite. Opt-in only. Tests in tests/Sandbox/Ads/ hit real
| platform sandbox accounts (Meta, Google, TikTok, LinkedIn) and
| are gated by env('ADS_SANDBOX_TESTS'). NOT included in default
| `vendor/bin/pest` runs (the suite is named explicitly + every test
| calls skipUnlessSandboxEnabled() as defense in depth). Pre-release
| run command + env-var matrix live in docs/ads/review/SANDBOX_TESTS.md
-->
<testsuite name="Sandbox">
<directory>tests/Sandbox</directory>
</testsuite>
<!--
<testsuite name="Plugin: athena/evs">
<directory>storage/app/plugins/athena/evs/tests</directory>
</testsuite>
<testsuite name="Plugin: acelle/ai">
<directory>storage/app/plugins/acelle/ai/tests</directory>
</testsuite>
<testsuite name="Plugin: acelle/paddle">
<directory>storage/app/plugins/acelle/paddle/tests</directory>
</testsuite>
<testsuite name="Plugin: acelle/tbank">
<directory>storage/app/plugins/acelle/tbank/tests</directory>
</testsuite>
<testsuite name="Plugin: acelle/paypal">
<directory>storage/app/plugins/acelle/paypal/tests</directory>
</testsuite>
<testsuite name="Plugin: acelle/fastspring">
<directory>storage/app/plugins/acelle/fastspring/tests</directory>
</testsuite>
<testsuite name="Plugin: acelle/braintree">
<directory>storage/app/plugins/acelle/braintree/tests</directory>
</testsuite>
<testsuite name="Plugin: acelle/payu">
<directory>storage/app/plugins/acelle/payu/tests</directory>
</testsuite>
<testsuite name="Plugin: acelle/paytr">
<directory>storage/app/plugins/acelle/paytr/tests</directory>
</testsuite>
<testsuite name="Plugin: acelle/console">
<directory>storage/app/plugins/acelle/console/tests</directory>
</testsuite>
-->
</testsuites>
<source>
<include>
<directory>app</directory>
</include>
</source>
<groups>
<exclude>
<group>live</group>
</exclude>
</groups>
<php>
<ini name="max_execution_time" value="0"/>
<env name="APP_ENV" value="testing"/>
<env name="APP_MAINTENANCE_DRIVER" value="file"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="DISTRIBUTED_WORKER" value="false"/>
<env name="DISTRIBUTED_MASTER" value="false"/>
<env name="DISTRIBUTED_MODE" value="false"/>
<env name="CACHE_STORE" value="file"/>
<env name="CACHE_DRIVER" value="file"/>
<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"/>
<env name="SKIP_STRIPE_LIVE_TESTS" value="true"/>
<env name="DB_SHARDING" value="false"/>
<!--
Test DB isolation — Pest tests using RefreshDatabase / DatabaseMigrations
run `migrate:fresh` which DROPS ALL TABLES on the active connection.
Without this override, the trait would wipe `mailixa` (dev DB from .env).
Force a separate `mailixa_test` DB so Pest can wipe freely without ever
touching dev or prod data. Create the DB once:
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS mailixa_test
CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
-->
<env name="DB_DATABASE" value="mailixa_test"/>
</php>
</phpunit>