Mod phpunit file
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2021-12-17 00:44:13 +01:00
parent 8262d7b823
commit 5c4d13a4c2
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="../../../modules/system/tests/bootstrap.php"
bootstrap="../../../tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
@ -10,20 +10,23 @@
stopOnFailure="false"
>
<testsuites>
<testsuite name="Plugin Unit Test Suite">
<testsuite name="Resizeer tests">
<directory>./tests</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing" />
<env name="CACHE_DRIVER" value="array" />
<env name="SESSION_DRIVER" value="array" />
<env name="ACTIVE_THEME" value="test" />
<env name="CONVERT_LINE_ENDINGS" value="true" />
<env name="CMS_ROUTE_CACHE" value="true" />
<env name="CMS_ROUTE_CACHE" value="false" />
<env name="CMS_TWIG_CACHE" value="false" />
<env name="THEMES_PATH" value="modules/system/tests/fixtures/themes" />
<env name="ENABLE_CSRF" value="false" />
<env name="DB_CONNECTION" value="sqlite" />
<env name="DB_DATABASE" value=":memory:" />
</php>
</phpunit>