Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | public function invokeTest(): void |
||
35 | { |
||
36 | $testResult = new TestResult('SQL', 'Overall health'); |
||
37 | |||
38 | $input = [ |
||
39 | 'host' => $this->host, |
||
40 | ]; |
||
41 | $testData = new TestData($input); |
||
42 | $test = new TestCase\Store\Sql($testData); |
||
43 | |||
44 | $sqlResult = $test->getTestResult(); |
||
45 | $this->addTestResult($sqlResult); |
||
46 | |||
47 | $state = $this->calculateState(); |
||
48 | $testResult->setState($state); |
||
49 | $this->setTestResult($testResult); |
||
50 | } |
||
52 |