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