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