|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="bootstrap/autoload.php" colors="true" |
3 | | - convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" |
4 | | - processIsolation="false" stopOnFailure="false"> |
| 2 | +<phpunit backupGlobals="false" |
| 3 | + backupStaticAttributes="false" |
| 4 | + bootstrap="bootstrap/autoload.php" |
| 5 | + colors="true" |
| 6 | + convertErrorsToExceptions="true" |
| 7 | + convertNoticesToExceptions="true" |
| 8 | + convertWarningsToExceptions="true" |
| 9 | + processIsolation="false" |
| 10 | + stopOnFailure="false"> |
| 11 | + <testsuites> |
| 12 | + <testsuite name="Feature Tests"> |
| 13 | + <directory suffix="Test.php">./tests/Feature</directory> |
| 14 | + </testsuite> |
| 15 | + |
| 16 | + <testsuite name="Unit Tests"> |
| 17 | + <directory suffix="Test.php">./tests/Unit</directory> |
| 18 | + </testsuite> |
| 19 | + </testsuites> |
5 | 20 | <filter> |
6 | 21 | <whitelist processUncoveredFilesFromWhitelist="true"> |
7 | | - <directory suffix=".php"> |
8 | | - ./app |
9 | | - </directory> |
| 22 | + <directory suffix=".php">./app</directory> |
10 | 23 | </whitelist> |
11 | 24 | </filter> |
12 | 25 | <php> |
13 | 26 | <env name="APP_ENV" value="testing"/> |
14 | | - <env name="CACHE_DRIVER" value="array"/> |
15 | 27 | <env name="DB_CONNECTION" value="sqlite"/> |
16 | | - <env name="ENABLE_REGISTRATION" value="true"/> |
17 | | - <env name="QUEUE_DRIVER" value="sync"/> |
18 | | - <env name="REGISTRATION_CAPTCHA_STATUS" value="false"/> |
| 28 | + <env name="DB_DATABASE" value=":memory:"/> |
| 29 | + <env name="CACHE_DRIVER" value="array"/> |
19 | 30 | <env name="SESSION_DRIVER" value="array"/> |
| 31 | + <env name="QUEUE_DRIVER" value="sync"/> |
| 32 | + <env name="SCOUT_DRIVER" value="null"/> |
20 | 33 | </php> |
21 | | - <testsuites> |
22 | | - <testsuite name="Application Test Suite"> |
23 | | - <directory suffix="Test.php"> |
24 | | - ./tests |
25 | | - </directory> |
26 | | - </testsuite> |
27 | | - </testsuites> |
28 | 34 | </phpunit> |
0 commit comments