File tree Expand file tree Collapse file tree 2 files changed +17
-23
lines changed Expand file tree Collapse file tree 2 files changed +17
-23
lines changed Original file line number Diff line number Diff line change 11<?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
3232 'tableCacheSize ' => 777 ,
3333 'custom ' => [['random ' => 'data ' ]],
3434 'heartbeatPeriod ' => 69 ,
35+ 'retry ' => -1 ,
3536 ];
3637
3738 $ config = new Config (
@@ -71,6 +72,7 @@ public function shouldMakeConfig(): void
7172 self ::assertSame ($ expected ['custom ' ], $ config ->getCustom ());
7273 self ::assertSame ($ expected ['heartbeatPeriod ' ], $ config ->getHeartbeatPeriod ());
7374 self ::assertSame ($ expected ['databasesOnly ' ], $ config ->getDatabasesOnly ());
75+ self ::assertSame ($ expected ['retry ' ], $ config ->getRetry ());
7476
7577 $ config ->validate ();
7678 }
You can’t perform that action at this time.
0 commit comments