|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
|
3 |
| -<phpunit |
4 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 |
| - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" |
6 |
| - colors="true" |
7 |
| - failOnWarning="true" |
8 |
| - bootstrap="autoload.php"> |
9 |
| - |
10 |
| - <testsuites> |
11 |
| - <testsuite name="unit"> |
12 |
| - <directory>Tests/Unit</directory> |
13 |
| - </testsuite> |
14 |
| - <testsuite name="functional"> |
15 |
| - <directory>Tests/Functional</directory> |
16 |
| - </testsuite> |
17 |
| - <testsuite name="all"> |
18 |
| - <directory>Tests/Unit</directory> |
19 |
| - <directory>Tests/Functional</directory> |
20 |
| - </testsuite> |
21 |
| - </testsuites> |
22 |
| - |
23 |
| - <php> |
24 |
| - <env name="KERNEL_CLASS" value="AppTestKernel"/> |
25 |
| - <server name="KERNEL_DIR" value="app"/> |
26 |
| - <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/> |
27 |
| - </php> |
28 |
| - |
29 |
| - <filter> |
30 |
| - <whitelist> |
31 |
| - <directory>*</directory> |
32 |
| - <exclude> |
33 |
| - <directory>Assets</directory> |
34 |
| - <directory>Config</directory> |
35 |
| - <directory>Tests</directory> |
36 |
| - <directory>Translations</directory> |
37 |
| - <directory>Views</directory> |
38 |
| - <directory>vendor</directory> |
39 |
| - </exclude> |
40 |
| - </whitelist> |
41 |
| - </filter> |
42 |
| - |
43 |
| - <listeners> |
44 |
| - <listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener"/> |
45 |
| - <listener class="\Mautic\CoreBundle\Test\Listeners\CleanupListener"/> |
46 |
| - </listeners> |
47 |
| - |
| 3 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" |
| 5 | + backupGlobals="false" |
| 6 | + backupStaticAttributes="false" |
| 7 | + colors="true" |
| 8 | + convertErrorsToExceptions="true" |
| 9 | + convertNoticesToExceptions="true" |
| 10 | + convertWarningsToExceptions="true" |
| 11 | + failOnRisky="true" |
| 12 | + failOnWarning="true" |
| 13 | + processIsolation="false" |
| 14 | + stopOnFailure="false"> |
| 15 | + <coverage> |
| 16 | + <include> |
| 17 | + <directory>*</directory> |
| 18 | + </include> |
| 19 | + <exclude> |
| 20 | + <directory>Assets</directory> |
| 21 | + <directory>Config</directory> |
| 22 | + <directory>Tests</directory> |
| 23 | + <directory>Translations</directory> |
| 24 | + <directory>Views</directory> |
| 25 | + <directory>vendor</directory> |
| 26 | + </exclude> |
| 27 | + </coverage> |
| 28 | + <testsuites> |
| 29 | + <testsuite name="unit"> |
| 30 | + <directory>Tests/Unit</directory> |
| 31 | + </testsuite> |
| 32 | + <testsuite name="functional"> |
| 33 | + <directory>Tests/Functional</directory> |
| 34 | + </testsuite> |
| 35 | + <testsuite name="all"> |
| 36 | + <directory>Tests/Unit</directory> |
| 37 | + <directory>Tests/Functional</directory> |
| 38 | + </testsuite> |
| 39 | + </testsuites> |
| 40 | + <php> |
| 41 | + <env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/> |
| 42 | + <env name="MAXMIND_LICENSE_KEY" value=""/> |
| 43 | + <env name="KERNEL_CLASS" value="AppKernel" /> |
| 44 | + <const name="IS_PHPUNIT" value="true"/> |
| 45 | + <const name="MAUTIC_ENV" value="test"/> |
| 46 | + <server name="KERNEL_DIR" value="app"/> |
| 47 | + <server name="APP_DEBUG" value="0"/> |
| 48 | + <server name="APP_ENV" value="test" force="true" /> |
| 49 | + <ini name="error_reporting" value="E_ALL" /> |
| 50 | + </php> |
| 51 | + <listeners> |
| 52 | + <listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener"/> |
| 53 | + <listener class="\Mautic\CoreBundle\Test\Listeners\CleanupListener"/> |
| 54 | + </listeners> |
48 | 55 | </phpunit>
|
0 commit comments