|
15 | 15 | <directory>tests/</directory> |
16 | 16 | </testsuite> |
17 | 17 | <testsuite name="schema"> |
18 | | - <directory>tests/SchemaTest.php</directory> |
| 18 | + <file>tests/SchemaTest.php</file> |
19 | 19 | </testsuite> |
20 | 20 | <testsuite name="seeder"> |
21 | | - <directory>tests/SeederTest.php</directory> |
| 21 | + <file>tests/SeederTest.php</file> |
22 | 22 | </testsuite> |
23 | 23 | <testsuite name="cache"> |
24 | | - <directory>tests/CacheTest.php</directory> |
| 24 | + <file>tests/CacheTest.php</file> |
25 | 25 | </testsuite> |
26 | 26 | <testsuite name="builder"> |
27 | | - <directory>tests/QueryBuilderTest.php</directory> |
28 | | - <directory>tests/QueryTest.php</directory> |
| 27 | + <file>tests/QueryBuilderTest.php</file> |
| 28 | + <file>tests/QueryTest.php</file> |
29 | 29 | </testsuite> |
30 | 30 | <testsuite name="model"> |
31 | | - <directory>tests/ModelTest.php</directory> |
32 | | - <directory>tests/RelationsTest.php</directory> |
| 31 | + <file>tests/ModelTest.php</file> |
| 32 | + <file>tests/RelationsTest.php</file> |
33 | 33 | </testsuite> |
34 | 34 | <testsuite name="relations"> |
35 | | - <directory>tests/RelationsTest.php</directory> |
36 | | - <directory>tests/EmbeddedRelationsTest.php</directory> |
| 35 | + <file>tests/RelationsTest.php</file> |
| 36 | + <file>tests/EmbeddedRelationsTest.php</file> |
37 | 37 | </testsuite> |
38 | 38 | <testsuite name="mysqlrelations"> |
39 | | - <directory>tests/RelationsTest.php</directory> |
| 39 | + <file>tests/RelationsTest.php</file> |
40 | 40 | </testsuite> |
41 | 41 | <testsuite name="validation"> |
42 | | - <directory>tests/ValidationTest.php</directory> |
| 42 | + <file>tests/ValidationTest.php</file> |
43 | 43 | </testsuite> |
44 | 44 | </testsuites> |
| 45 | + <php> |
| 46 | + <env name="MONGO_HOST" value="mongodb"/> |
| 47 | + <env name="MONGO_DATABASE" value="unittest"/> |
| 48 | + <env name="MONGO_PORT" value="27017"/> |
| 49 | + <env name="MYSQL_HOST" value="mysql"/> |
| 50 | + <env name="MYSQL_DATABASE" value="unittest"/> |
| 51 | + <env name="MYSQL_USERNAME" value="root"/> |
| 52 | + <env name="QUEUE_CONNECTION" value="database"/> |
| 53 | + </php> |
45 | 54 | </phpunit> |
0 commit comments