| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function testGet(): void |
||
| 15 | { |
||
| 16 | $this->insertDocument(1); |
||
| 17 | |||
| 18 | /** @var ResponseInterface $res */ |
||
| 19 | $res = $this->r() |
||
| 20 | ->table('tabletest') |
||
| 21 | ->get(1) |
||
| 22 | ->run(); |
||
| 23 | |||
| 24 | /** @var array $array */ |
||
| 25 | $array = $res->getData(); |
||
| 26 | |||
| 27 | $this->assertArraySubset(['id' => 1], $array); |
||
| 28 | } |
||
| 45 |