File tree 2 files changed +17
-23
lines changed
2 files changed +17
-23
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit backupGlobals =" false"
3
- backupStaticAttributes =" false"
4
- bootstrap =" tests/bootstrap.php"
5
- colors =" true"
6
- convertErrorsToExceptions =" true"
7
- convertNoticesToExceptions =" true"
8
- convertWarningsToExceptions =" true"
9
- processIsolation =" false"
10
- stopOnFailure =" false" >
11
- <testsuites >
12
- <testsuite name =" Integration Suite" >
13
- <directory >./tests/Integration</directory >
14
- </testsuite >
15
- <testsuite name =" Unit Suite" >
16
- <directory >./tests/Unit</directory >
17
- </testsuite >
18
- </testsuites >
19
- <filter >
20
- <whitelist >
21
- <directory suffix =" .php" >src/</directory >
22
- </whitelist >
23
- </filter >
24
- </phpunit >
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" backupStaticAttributes =" false" bootstrap =" tests/bootstrap.php" colors =" true" convertErrorsToExceptions =" true" convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3
+ <coverage >
4
+ <include >
5
+ <directory suffix =" .php" >src/</directory >
6
+ </include >
7
+ </coverage >
8
+ <testsuites >
9
+ <testsuite name =" Integration Suite" >
10
+ <directory >./tests/Integration</directory >
11
+ </testsuite >
12
+ <testsuite name =" Unit Suite" >
13
+ <directory >./tests/Unit</directory >
14
+ </testsuite >
15
+ </testsuites >
16
+ </phpunit >
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ public function shouldMakeConfig(): void
32
32
'tableCacheSize ' => 777 ,
33
33
'custom ' => [['random ' => 'data ' ]],
34
34
'heartbeatPeriod ' => 69 ,
35
+ 'retry ' => -1 ,
35
36
];
36
37
37
38
$ config = new Config (
@@ -71,6 +72,7 @@ public function shouldMakeConfig(): void
71
72
self ::assertSame ($ expected ['custom ' ], $ config ->getCustom ());
72
73
self ::assertSame ($ expected ['heartbeatPeriod ' ], $ config ->getHeartbeatPeriod ());
73
74
self ::assertSame ($ expected ['databasesOnly ' ], $ config ->getDatabasesOnly ());
75
+ self ::assertSame ($ expected ['retry ' ], $ config ->getRetry ());
74
76
75
77
$ config ->validate ();
76
78
}
You can’t perform that action at this time.
0 commit comments