Total Complexity | 5 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | final class Configuration extends \SimpleSAML\Module\Monitor\TestSuiteFactory |
||
13 | { |
||
14 | /** |
||
15 | * @param \SimpleSAML\Module\Monitor\TestConfiguration $configuration |
||
16 | */ |
||
17 | public function __construct(TestConfiguration $configuration) |
||
18 | { |
||
19 | $this->setCategory('Configuration'); |
||
20 | parent::__construct($configuration); |
||
21 | } |
||
22 | |||
23 | |||
24 | /** |
||
25 | * @param \SimpleSAML\Module\Monitor\TestConfiguration $configuration |
||
26 | * @return array |
||
27 | */ |
||
28 | private function testCertificates(TestConfiguration $configuration): array |
||
29 | { |
||
30 | $test = new Configuration\Certificates($configuration); |
||
31 | return $test->getTestResults(); |
||
32 | } |
||
33 | |||
34 | |||
35 | /** |
||
36 | * @param \SimpleSAML\Module\Monitor\TestConfiguration $configuration |
||
37 | * @return array |
||
38 | */ |
||
39 | private function testDatabase(TestConfiguration $configuration): array |
||
43 | } |
||
44 | |||
45 | |||
46 | /** |
||
47 | * @return void |
||
48 | */ |
||
49 | public function invokeTest(): void |
||
63 |