Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function testGetAllAndCount(): void |
||
39 | { |
||
40 | $this->insertDocument(1); |
||
41 | $this->insertDocument(2); |
||
42 | |||
43 | /** @var ResponseInterface $res */ |
||
44 | $res = $this->r() |
||
45 | ->table('tabletest') |
||
46 | ->getAll(1, 2) |
||
47 | ->count() |
||
48 | ->run(); |
||
49 | |||
50 | // todo: change to 2 |
||
51 | $this->assertEquals(0, $res->getData()); |
||
52 | } |
||
54 |