| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 11 | public function testCreateIndexTask(): void |
||
| 12 | { |
||
| 13 | $getVars = ['index' => 'sitetree']; |
||
| 14 | $request = new HTTPRequest('GET', '/dev/tasks/index', $getVars); |
||
| 15 | $task = new ReindexTask(); |
||
| 16 | $response = $task->run($request); |
||
| 17 | |||
| 18 | // no response is returned from the task if it is successful |
||
| 19 | $this->assertNull($response); |
||
| 20 | } |
||
| 33 |