mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 04:23:34 +00:00
Add BrowserTestHelpers and configuration/deploy browser tests for apps, databases, services, and Livewire toggles. Refactor existing browser suites onto shared seed/login helpers, soft-skip onboarding, and null broadcasting so host-side Pest runs avoid docker DNS.
40 lines
1.6 KiB
XML
40 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
|
|
<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="v4">
|
|
<directory suffix="Test.php">./tests/v4</directory>
|
|
</testsuite>
|
|
<testsuite name="v5">
|
|
<directory suffix="Test.php">./tests/v5</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<coverage/>
|
|
<php>
|
|
<env name="APP_ENV" value="testing"/>
|
|
<env name="BCRYPT_ROUNDS" value="4"/>
|
|
<env name="CACHE_DRIVER" value="array" force="true"/>
|
|
<env name="DB_CONNECTION" value="testing" force="true"/>
|
|
|
|
<env name="MAIL_MAILER" value="array" force="true"/>
|
|
<env name="QUEUE_CONNECTION" value="sync" force="true"/>
|
|
<env name="SESSION_DRIVER" value="array" force="true"/>
|
|
<env name="NIGHTWATCH_ENABLED" value="false"/>
|
|
<!-- Host-side Pest browser runs cannot resolve docker DNS (coolify-realtime). -->
|
|
<env name="BROADCAST_DRIVER" value="null" force="true"/>
|
|
<!-- The v5 bootstrap endpoint refuses to queue without a Flux URL; tests
|
|
that exercise the unconfigured path blank it via Config::set. -->
|
|
<env name="COOLIFY_COOLD_FLUX_URL" value="http://flux.testing:6443" force="true"/>
|
|
</php>
|
|
<source>
|
|
<include>
|
|
<directory suffix=".php">./app</directory>
|
|
</include>
|
|
</source>
|
|
</phpunit>
|