update phpunit config

This commit is contained in:
Akolzin Dmitry 2020-03-04 17:33:28 +03:00
parent e3ec1b0518
commit b15be0d7dd

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit <phpunit
bootstrap="tests/phpunit/bootstrap.php" bootstrap="tests/bootstrap.php"
backupGlobals="false" backupGlobals="false"
colors="true" colors="true"
convertErrorsToExceptions="true" convertErrorsToExceptions="true"
@ -12,16 +12,16 @@
syntaxCheck="true" syntaxCheck="true"
> >
<testsuites> <testsuites>
<testsuite name="Retailcrm PrestaShop Test Suite"> <testsuite name="PrestaShop retailCRM Test Suite">
<directory>tests/phpunit</directory> <directory suffix="Test.php">tests</directory>
<exclude>tests/helpers</exclude>
</testsuite> </testsuite>
</testsuites> </testsuites>
<filter> <filter>
<whitelist addUncoveredFilesFromWhitelist="true"> <whitelist>
<directory suffix=".php">retailcrm</directory> <directory suffix=".php">retailcrm</directory>
<exclude> <exclude>
<directory suffix=".php">retailcrm/translations</directory> <directory suffix=".php">retailcrm/translations</directory>
<directory suffix=".php">retailcrm/job</directory>
<file>bootstrap.php</file> <file>bootstrap.php</file>
<file>index.php</file> <file>index.php</file>
<file>logo.gif</file> <file>logo.gif</file>