| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function testWithoutResult() |
||
| 14 | { |
||
| 15 | $this->insertDocumentWithNumber(1, 1); |
||
| 16 | |||
| 17 | /** @var Cursor $cursor */ |
||
| 18 | $cursor = $this->r() |
||
| 19 | ->table('tabletest') |
||
| 20 | ->get(1) |
||
| 21 | ->without('title', 'number') |
||
| 22 | ->run(); |
||
| 23 | |||
| 24 | $this->assertInstanceOf(\Iterator::class, $cursor); |
||
| 25 | $this->assertEquals(1, $cursor->count()); |
||
| 26 | } |
||
| 28 |