mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
add back phpunit.xml
This commit is contained in:
parent
cb5ad6eaca
commit
f2b240cb1d
2
.github/workflows/phpunit.yml
vendored
2
.github/workflows/phpunit.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
phpunit-versions: ['latest']
|
phpunit-versions: ['latest']
|
||||||
ci_node_total: [ 8 ]
|
ci_node_total: [ 8 ]
|
||||||
ci_node_index: [ 0, 1, 2, 3, 4, 5, 6, 7]
|
ci_node_index: [ 0, 1, 2, 3, 4, 5, 6, 7]
|
||||||
laravel: [9.*]
|
laravel: [10.*]
|
||||||
dependency-version: [prefer-stable]
|
dependency-version: [prefer-stable]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
31
phpunit.xml
Normal file
31
phpunit.xml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false"
|
||||||
|
bootstrap="vendor/autoload.php" colors="true" processIsolation="true" stopOnError="true" stopOnFailure="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
|
||||||
|
cacheDirectory=".phpunit.cache" backupStaticProperties="false">
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Unit">
|
||||||
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="Integration">
|
||||||
|
<directory suffix="Test.php">./tests/Integration</directory>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="Feature">
|
||||||
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="Pdf">
|
||||||
|
<directory suffix="Test.php">./tests/Pdf</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
<php>
|
||||||
|
<env name="APP_ENV" value="testing"/>
|
||||||
|
<env name="BCRYPT_ROUNDS" value="4"/>
|
||||||
|
<env name="CACHE_DRIVER" value="file"/>
|
||||||
|
<env name="SESSION_DRIVER" value="array"/>
|
||||||
|
<env name="QUEUE_CONNECTION" value="sync"/>
|
||||||
|
<env name="MAIL_MAILER" value="array"/>
|
||||||
|
<env name="DB_CONNECTION" value="sqlite"/>
|
||||||
|
<env name="DB_DATABASE" value=":memory:"/>
|
||||||
|
<env name="DB_STRICT" value="FALSE"/>
|
||||||
|
</php>
|
||||||
|
<logging/>
|
||||||
|
</phpunit>
|
Loading…
x
Reference in New Issue
Block a user